webconfig error in webhosting server
-
First all, your config file is not in your post. second , did you install .NET Framework on database server?
cheers, Abhijit
connectionstring add name="localsqlserver" connectionstring="Data Source=mssql302.ixwebhosting.com;Initial Catalog=Eminoso_yellowebsite;User ID=xxxx;Password=xxxx" providername="System.Data.SqlClient" This is my web config file.And i installed .net framework in serevr. thank u i am waiting for your reply.
-
connectionstring add name="localsqlserver" connectionstring="Data Source=mssql302.ixwebhosting.com;Initial Catalog=Eminoso_yellowebsite;User ID=xxxx;Password=xxxx" providername="System.Data.SqlClient" This is my web config file.And i installed .net framework in serevr. thank u i am waiting for your reply.
Still same problem. Just do one thing while posting web.config code, please select "Ignore HTML tags in this message (good for code snippets)" check box in the bottom of editor !!!
cheers, Abhijit
-
connectionstring add name="localsqlserver" connectionstring="Data Source=mssql302.ixwebhosting.com;Initial Catalog=Eminoso_yellowebsite;User ID=xxxx;Password=xxxx" providername="System.Data.SqlClient" This is my web config file.And i installed .net framework in serevr. thank u i am waiting for your reply.
-
<remove name="LocalSqlServer"/> why are you using this ? cheers, Abhijit
-
<remove name="LocalSqlServer"/> why are you using this ? cheers, Abhijit
-
I placed my asp.net code in my server and i placed my database stuff in web hosting server.I created a virtual directory in web hosting server to access my files from my server.I have written the code in webconfig file like this when i run this local its working but when i am trying to run using website server address i am getting webconfig error. "An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". " can you please help me how to resolve this ixwebhosting problem. Thanks in advance pavani
Have you tried doing what the message suggests and changing the error settings to permit you to see the actual error remotely?
-
How did you deploy the side ? Did you published it first then deploy or what ?
cheers, Abhijit
-
Have you tried doing what the message suggests and changing the error settings to permit you to see the actual error remotely?
-
How did you deploy the side ? Did you published it first then deploy or what ?
cheers, Abhijit
-
pavanip wrote:
I directly deployed, didn't publish it
Just do one thing, Publish it from VS. then copy the Precompiled Web into IIS , then create virtual Directory . Hope that will resolve your problem. Good luck !!
cheers, Abhijit
-
pavanip wrote:
I directly deployed, didn't publish it
Just do one thing, Publish it from VS. then copy the Precompiled Web into IIS , then create virtual Directory . Hope that will resolve your problem. Good luck !!
cheers, Abhijit
-
Please let me know when done !!!
cheers, Abhijit
-
Please let me know when done !!!
cheers, Abhijit
-
I tried you suggested way.Now web config error is not coming but aspx pages are not opening.only html are displying.
:omg: :wtf:
pavanip wrote:
but aspx pages are not opening.only html are displying.
Why ? Is there any error coming ? Please verify the path for aspx page. It will work fine !!!
cheers, Abhijit
-
:omg: :wtf:
pavanip wrote:
but aspx pages are not opening.only html are displying.
Why ? Is there any error coming ? Please verify the path for aspx page. It will work fine !!!
cheers, Abhijit
By which he maybe means he's getting the error first described... Plain HTML page will open fine, as it's not suffering from the same problem as the .net pages...
-
:omg: :wtf:
pavanip wrote:
but aspx pages are not opening.only html are displying.
Why ? Is there any error coming ? Please verify the path for aspx page. It will work fine !!!
cheers, Abhijit
thanks for your great response. When i open aspx pages "page can not be displayed error is coming". i followed these steps to create virtual directory in web hosting server web options->select domain->web directories settings->Add->we directory name,web directory path(virtual directory path),Authentication level(Anonymous access),Execute permissions(scripts and Executables),and Allow read access. I set these settings for virtual directory.if anything wrong in that can you please tell me the procedure to create virtual directory Or can i change any other setting in hosting server?
-
I tried that way also.i tried with custom error mode On, Off,Remoteonly For above all i am getting the same error.when i put html file in that folder it is opening correctly, that is the error for only aspx pages.
-
-