Click here to Skip to main content
15,117,830 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a simple web application in asp.net in which i have two pages webform1.aspx and webform2.aspx in webform2.aspx i have a simple paragraph and in web form1.aspx i have simple method for binding crystal report , locally both the pages works fine but when i hosted the application to the server the page having simple paragraph works fine but the page having crystal report in it is giving error "The resource cannot be found." mean while it changes the URL
http://planrbme.com.pk/Repor/login.aspx?ReturnUrl=%2fRepor%2fWebForm1.aspx[^]

Like that , What is the reason i have asked from hosting provider they said that crystal report is enable and all services are enabled for crystal report .
my web.config is simple like below


<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->

<configuration>
<system.web>
<compilation debug="true" targetframework="4.0">


<connectionstrings>

<add name="constr" connectionstring="Data Source=72.249.151.40;Initial Catalog=RBMECDF;User ID=RBMECDF;Password=ytMkq3qy">
providerName="System.Data.SqlClient" />



Can anybody help me out

What I have tried:

I have place aspnet_Client Folder into my root directory on to the server
Posted
Updated 6-Sep-16 9:46am

1 solution

This might be a stupid assumption but i saw your URL said /Repor/ instead of /Report/.

I used this link:

http://planrbme.com.pk/Report/login.aspx?ReturnUrl=%2fRepor%2fWebForm1.aspx[^]

And the error went from not found to 500 internal server error, which you would need to go back to your hosting company about to have resolved if its a configuration issue with the server, that is unless they've given you the ability to maintain the server to that level.
   
Comments
Malikdanish 7-Sep-16 7:16am
   
They said that everything is ok from our side

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