Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Call one other project

Posted on 2012-08-23
8
Medium Priority
?
374 Views
Last Modified: 2012-08-24
Hi,
I do publish the two projects within the same folder like
C:\inetpub\wwwroot

in Win 08 server.

Within the 1st project, I call the 2nd one like
Response.Redirect("~/Edit_User/Edit_User.aspx");

but I've got this. How to correct it?
Server Error in '/Login' Application.
--------------------------------------------------------------------------------

The resource cannot be found.
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: /Login/Edit_User/Edit_User.aspx


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET Version:2.0.50727.5456

Many Thanks & Best Regards,
HuaMin
0
Comment
Question by:HuaMinChen
  • 4
  • 4
8 Comments
 
LVL 60

Expert Comment

by:Julian Hansen
ID: 38324142
Try putting the full path to the second project i.e.

Response.Redirect("http://servername/Edit_User/Edit_User.aspx")
0
 
LVL 11

Author Comment

by:HuaMinChen
ID: 38327770
Many thanks Julian. I call it like
Response.Redirect("https://WIN-BVDIC8GIAHI/Edit_User/Edit_User.aspx");

but I've got this
Server Error in '/Edit_User' Application.
--------------------------------------------------------------------------------

The resource cannot be found.
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: /Edit_User/Edit_User.aspx


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET Version:2.0.50727.5456

Many Thanks & Best Regards,
HuaMin
0
 
LVL 11

Author Comment

by:HuaMinChen
ID: 38328221
Any advice to this? Thanks a lot.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 60

Accepted Solution

by:
Julian Hansen earned 2000 total points
ID: 38328225
And what happens if you put this in your browser (https://WIN-BVDIC8GIAHI/Edit_User/Edit_User.aspx) ?

Does it open the page?

A 404 is a file not found - that means your browser cannot find the file - so if you can't enter that in your browser and get to the site then you have to solve that problem first.
0
 
LVL 11

Author Comment

by:HuaMinChen
ID: 38328331
Many thanks Julian.
When I directly go to this
https://WIN-BVDIC8GIAHI/Edit_User

I then choose this
https://skydrive.live.com/?cid=17ec75244bac022f#cid=17EC75244BAC022F&id=17EC75244BAC022F!252

But I've got this
https://skydrive.live.com/?cid=17ec75244bac022f#cid=17EC75244BAC022F&id=17EC75244BAC022F!253

While the point is I've published the project in the server below
https://skydrive.live.com/?cid=17ec75244bac022f#cid=17EC75244BAC022F&id=17EC75244BAC022F!258

why doesn't the server know "Edit_User" project?

Many Thanks & Best Regards,
HuaMin
0
 
LVL 60

Expert Comment

by:Julian Hansen
ID: 38328497

why doesn't the server know "Edit_User" project?

The reasons could be many and probably worth posting another question for that.
0
 
LVL 11

Author Comment

by:HuaMinChen
ID: 38328545
Thanks. The point is, I still do not see whether calling by this
Response.Redirect("https://WIN-BVDIC8GIAHI/Edit_User/Edit_User.aspx");

is exactly the correct way or not.

Many Thanks & Best Regards,
HuaMin
0
 
LVL 60

Expert Comment

by:Julian Hansen
ID: 38328557
I don't see a problem with it - if the server is responding to that URL then there should be no issue.

However these might be of use

http://stackoverflow.com/questions/5305443/asp-net-c-sharp-redirecting-from-http-to-https
http://www.justskins.com/forums/response-redirect-to-an-66597.html
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month20 days, 17 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question