View Full Version : server error
rouazene
05-13-2005, 03:13 AM
All files are there. It was working locally. Do I need to make any changes to the web.comfig file?
rouazene
05-13-2005, 05:48 AM
when I deployed Personal web Site starter kit to discountAsp.net I get the error below</o:p>
Server Error in '/' Application.</o:p>
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /Default.aspx
Danny
05-13-2005, 06:44 AM
This is a 404 error (file not found), check your web space and make sure all the files are there for your application.
rouazene
05-14-2005, 03:00 AM
Here is web.config
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings>
<add name="Personal" connectionString="Data Source=mssql09.discountasp.net; initial Catalog=DB_150347; User ID=pcsupportsu; Password=??????" providerName="System.Data.SqlClient"/>
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="Data Source=mssql09.discountasp.net; initial Catalog=DB_150347; User ID=pcsupportsu; Password=??????/"/>
</connectionStrings>
<system.web>
<pages styleSheetTheme="White"/>
<customErrors mode="RemoteOnly"/>
<compilation debug="true" urlLinePragmas="true"/>
<authentication mode="Forms">
<forms loginUrl="Default.aspx" protection="Validation" timeout="300"/>
</authentication>
<authorization>
<allow users="*"/>
</authorization>
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
<roleManager enabled="true"/>
<siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
<providers>
<add name="XmlSiteMapProvider" description="SiteMap provider which reads in .sitemap XML files." type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" siteMapFile="web.sitemap" securityTrimmingEnabled="true"/>
</providers>
</siteMap>
</system.web>
<location path="Admin">
<system.web>
<authorization>
<allow roles="Administrators"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
</configuration>
Post Edited (quaz) : 5/18/2005 3:40:34 AM GMT
Danny
05-16-2005, 08:50 AM
The web.config looks fine, can you post your URL so we can see the error?
rouazene
05-17-2005, 01:22 AM
Now I have'System.Web.Security.SqlRoleProvider' error
beta-150347.server1.dotnetsandbox.net (http://beta-150347.server1.dotnetsandbox.net/)
rouazene
05-17-2005, 01:49 AM
Server Error in '/' Application.
Runtime Error Description: 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 <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
quaz - follow the instructions on the generic error page to see the detailed error.
DiscountASP.NET
http://www.DiscountASP.NET
Danny
05-19-2005, 08:37 AM
Your database does not have the complete schema, you can find more information in this thread:
http://community.discountasp.net/default.aspx?f=24&m=6679
vBulletin® ©Jelsoft Enterprises Ltd.