Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
ASPProtect.NET Authentication Add-On Support Archives (Info Locked Info Locked)
 CJWSoft Support Info : ASPProtect.NET Authentication Add-On Support Archives
Subject Info: testprotect.aspx A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
hanleycp
New User
New User


Joined: January/24/2007
Location: United States
Online Status: Offline
Info: 1
Added: January/24/2007 at 4:19pm | IP Logged Quote hanleycp

I get to a point that v7 works and then I move everything from the .net add on into the correct places and I have made sure that I have set all permission correctly. 

When I run testprotect.aspx I get "Invalid Request (Bad hostname)" and the address in the address bar is as follows instead of my url (ip address).

In webconfig I have used various attempts at the path for asspplogin.aspx including /../aspplogin.aspx, ~/, ../, /, but the only thing that keeps it tied to my ip address in the address bar is /../aspplogin.aspx.

http://localhost/aspprotectnet/aspplogin.aspx?ReturnUrl=/tes tprotect.aspx

Everything else on the site works fine except for that file.

Also, I don't seem to have the .vb files associated with aspplogin or testprotect. When I open the files in visual studio they are underlined becasue they cannot be found.

Thanks in advance for any help.

Back to Top View hanleycp's Profile Search for other info by hanleycp
 
flesso
Member
Member
Avatar

Joined: June/15/2006
Online Status: Offline
Info: 75
Added: January/25/2007 at 2:53am | IP Logged Quote flesso

the .vb files are codebehind, and so when the project was compiled, the code behind files become part of the actuall dll

__________________
Best Regards,
Josh Hold
Back to Top View flesso's Profile Search for other info by flesso
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: January/25/2007 at 3:33am | IP Logged Quote cwilliams

yes, like flesso says your not supposed to get those files. exclude then from compilation in vb by right clicking if it bothers you or causes an issue.

As for the path issue based on what you showed me for a url my guess would be that you should be using /aspprotectnet/asplogin.aspx as the path in the web config because on a local development machine the virtual root starts after Inetpub\wwwroot... not after a web within it

or aspplogin.aspx all by itslelf may work as well depending on what your doing

I Dont think you want to do any "../" stuff there..

You can also try the entire http:// path to it.. I cant remember off hand if that works or not but I think it might

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 

Sorry, you can NOT post info.
This info has been locked by a info administrator.

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com