Click here to Skip to main content
15,889,200 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Guys,
I have a problem with ASP.Net application which I hosted in Discountasp.net.

My application has a link which internally collects data from database table.

When I click that link I am getting HTTP 404 error(Resource cannot be found)

But with the same database when I run it in my PC it is working fine. I don't have any connection string problem because I am able to retrieve data from all other tables(Account Information and stuff).

What could be the reason....

When
http://localhost:55022/Forums/Love%20Mania/love%20problems.aspx
is working fine than it should also work for

http://loveinmetro.com/Forums/Love%20Mania/love%20problems.aspx

But it's not working. Getting HTTP 404

Can anyone please advice...

If anyone want see it happens please have a look loveinmetro.com/Forums
Posted
Updated 12-Jul-10 15:29pm
v2

1 solution

Jayadheer Reddy wrote:
http://localhost:55022/Forums/Love%20Mania/love%20problems.aspx
is working fine than it should also work for

http://loveinmetro.com/Forums/Love%20Mania/love%20problems.aspx

Well, when you host a particular website, generally a Virtual Directory name also gets added to the URL.
Might be it should be something like:
http://loveinmetro.com/VIRTUAL_DIRECTORY_NAME/Forums/Love%20Mania/love%20problems.aspx

The reason being, you are getting a 404 error which means the url/file you are trying to access and display is not present at the path you are providing.
Surely there is a mistake in the URL path provided. Try to browse it from IIS of your server, that should also help you out.
 
Share this answer
 
v2

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