Click here to Skip to main content
15,913,685 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi I hosted a site and I have sub-link under Reviews called By Genere and All Reviews when I click to view I am getting the below error.

Server Error in Application "MARYABRAHAM.SOMEE.COM"
Internet Information Services 7.5
Error Summary
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Detailed Error Information

Module: IIS Web Core
Notification: MapRequestHandler
Handler: StaticFile
Error Code 0x80070002
Requested URL: http://www.maryabraham.somee.com:80/mycustompage.htm?aspxerrorpath=/Reviews/AllByGenre.aspx[^]

Physical Path: d:\DZHosts\LocalUser\MaryAbraham\www.MaryAbraham.somee.com\mycustompage.htm

Logon Method: Anonymous
Logon User: Anonymous

Most likely causes:The directory or file specified does not exist on the Web server.
The URL contains a typographical error.
A custom filter or module, such as URLScan, restricts access to the file.

Things you can try:Create the content on the Web server.
Review the browser URL.
Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.

Links and More Information: This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.

My web config file is as follows
XML
<configuration>
 <connectionstrings>
  <add name="PlanetWroxConnectionString1" connectionstring="Data Source=.\SQLEXPRESS2008R2;AttachDbFilename=|DataDirectory|\PlanetWrox.mdf;Integrated Security=True;User Instance=True" providername="System.Data.SqlClient" />

<!--<add name="PlanetWroxEntities" connectionstring="metadata=res://*/App_Code.PlanerWrox.csdl|res://*/App_Code.PlanerWrox.ssdl|res://*/App_Code.PlanerWrox.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.\SQLEXPRESS2008R2;AttachDbFilename=|DataDirectory|\PlanetWrox.mdf;Integrated Security=True;User Instance=True;MultipleActiveResultSets=True"" providername="System.Data.EntityClient" />-->

</connectionstrings>
 <system.web>
  <pages theme="Monochrome">
   <controls>
    <add tagprefix="Wrox" tagname="Banner" src="~/Controls/Banner.ascx" />
   </controls>
  </pages>
  <compilation debug="false" targetframework="4.0">
   <assemblies>
    <add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /></assemblies><buildproviders><add extension=".edmx" type="System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider" /></buildproviders></compilation>
    <customerrors mode="RemoteOnly" defaultredirect="mycustompage.htm" />

  </system.web>
 <system.net>
  <mailsettings>
   <smtp deliverymethod="SpecifiedPickupDirectory" from="Planet Wrox <info@planetwrox.com>">
    <specifiedpickupdirectory pickupdirectorylocation="C:\TempMail" />
   </smtp>
  </mailsettings>
 </system.net>
</configuration>


Please help me. I am looking forward in hearing from you. Thanks.
Posted
Updated 6-Jul-12 5:11am
v2
Comments
bbirajdar 6-Jul-12 11:08am    
Post it in the somee forums.. You can get a quick reply there
Mary Abraham 6-Jul-12 12:27pm    
The files are running in my localhost I have a doubt is app_data enough to run the files or I have to host the database separately.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900