2
Answers

Problem with opening a project.

jinwolf

jinwolf

20y
2.8k
1
Hi all, I have a project that I have been working on for a few weeks now, this morning I tried to open the project and I get a message saying the web server is not running. I know the server is running, but VS.NET says it's not still. I tried running "aspnet_regiis -i", but this made no difference. The server was okay when I was working on it yesterday. Does anyone have any ideas as to why it doesn't run anymore? I hope this is understandable. Thanks in advance,
Answers (2)
0
wooi83
NA 18 0 21y
thanks for mentioning connection string. i did close the connection in the connection method. infact i mustn't do that.. thanks alot...
0
subbaram_k
NA 2 0 21y
int intParamCount = 0; SqlParameter[] sqlParam=new SqlParameter[2]; SqlCommand objInsertCommand=new SqlCommand("sp_InsertReserve",objConn); //specify the connection objInsertCommand.CommandType =CommandType.StoredProcedure; //Associate Parameters sqlParam[0]=new SqlParameter("@reservationUserID",SqlDbType.VarChar ); sqlParam[0].Direction =ParameterDirection.Input ; sqlParam[0].Value =UID; sqlParam[1]=new SqlParameter("@reservationBookID",SqlDbType.VarChar ); sqlParam[1].Direction =ParameterDirection.Input ; sqlParam[1].Value =BID; while(intParamCount
0
jaac79
NA 34 0 21y
In your code where are you setting the connection object?