|
|
Posted 18/09/2003 07:43:00 |
|
|
Forum Newbie
      
Group: Customers
Last Login: 09/06/2004 01:32:00
Posts: 4,
Visits: 1
|
|
Greetings, I have followed the installation instructions and have looked through the forums but am still having a little problem getting this app set up correctly. I have : 1. Made a new site in iis. 2. Made a new virtual directory below it that points to the instantforum directory. 3. This virtual directory is set to be its own application root (rather then using default.) 4. I have set anonymous access only on both the parent site and the virtual directory. 4. I have set the paths in the webconfig file and set the db connection string to be localhost ;instantforum; sa ; **** (local copy of sql server). When i connect the forum home page comes up : www.satyrical.com/instantforum But if i log in as admin it takes me back to the home page but seems to be logged on as guest. When i click on any link the 'users online' count goes up but i don't have the admin cpl icon. If i close the browser and open a new one and go back to the site, the correct homepage for admin is displayed with the admin cpl icon but i have a session timed out message. I am sure it must be something simple and dumb that i am doing, but i would appreciate if anyone could give me the basic brief on IIS authentication type - SQL user - App settings that i need to get this running properly. Thanks in advance, Benjamin Hawcroft
|
|
|
|
Posted 18/09/2003 08:34:00 |
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: Yesterday @ 15:47:32
Posts: 1,954,
Visits: 3,012
|
|
Hi Benjamin, Thank you for your post. I must say i'm a little stumped as to your problem. I visited your site and logged in as administrator and everything worked fine for me. I logged in created a forum and test message. You luck to have everything set-up as it should be  I've not heard of this before from any other users. Have you fixed this problem in the meantime ? - If your still having problems please let me know 
 Kindest Regards,
Ryan Healey Director / Developer
Explore our products... http://demos.instantasp.co.uk/
|
|
|
|
Posted 18/09/2003 09:43:00 |
|
|
Forum Newbie
      
Group: Customers
Last Login: 09/06/2004 01:32:00
Posts: 4,
Visits: 1
|
|
Ryan, Thank you for confirming this. I am accessing my web server from an xp machine on my internal network and still experiencing the same problem. Perhaps something to do with the setup on my local pc, though not sure what yet. I have an entry set in my local dns server so that my pc is correctly hitting the webserver using local ip etc... I will double check any cookie related privacy settings ? Also, does the db user need to be sa ? I am prosuming not, but not sure exactly what access to give it. As a side note, i have set forum mail to FALSE until i work out what to do with smtp. I am presuming i can point it at an smtp relay, but in doing so, i will need to set smtp server logon / password details won't i ? Anyway, thanks again, i will let everyone know how i get on. Cheers, Benjamin
|
|
|
|
Posted 18/09/2003 13:00:00 |
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: Yesterday @ 15:47:32
Posts: 1,954,
Visits: 3,012
|
|
Hi Benjamin, Thanks for your quick response. This sounds like a cookie issue to me. Could you try accessing the application not using any dns or host file modifications ? - I'm sure it will work fine then  Regarding the sa account - no your database does not need this access. You only require dbo access for the account your using within your connection string. If this is a trusted connection that would be the ASPNET account. You can use any valid SMTP server for relaying messages and you will only require a username and password if the server requires authentication. I suspect if you have a internal SMTP server this will not require authentication as its not available to the outside world if your behind a firewall etc. You can set the username and password within the code but i would have to look into this for you  I hope this helps - please let me know if this works via a normal connection if so the application is not mapping the cookie to the correct address because of the mapping you have set-up - i'm not sure how to resolve this immediatly  Please let me know if you have any further questions - its a pleasure to assist 
 Kindest Regards,
Ryan Healey Director / Developer
Explore our products... http://demos.instantasp.co.uk/
|
|
|
|
Posted 19/09/2003 08:24:00 |
|
|
Forum Newbie
      
Group: Customers
Last Login: 09/06/2004 01:32:00
Posts: 4,
Visits: 1
|
|
Ryan, I have been able to log on successfully today. I can't explain why as there does not seem to be anything obviously different but will leave that for the moment and will let you know if it pops up again. In the meantime, it would seem that it can't seem to find the form validation javascript file? (friends suggestion) .. The error that i get when i click on the members link is : A runtime error has occurred do you wish to debug ? Line: 34 Expected Identifier: ';' Below is the code snippet that Visual Studio .Net opened up to with the <?> representing the cursor when i chose to debug... - <script language="javascript">
- <!--
- function __doPostBack(eventTarget, eventArgument) {
- var theform;
- if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {
- theform = document.forms<?>["_ctl1:memberstable"];
- }
- else {
- theform = document._ctl1:memberstable;
- }
- theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
- theform.__EVENTARGUMENT.value = eventArgument;
- theform.submit();
- }
- // -->
- </script>
I will try tonight externally and see if i get the same result. Cheers, hope your day is a good one ! Benjamin
|
|
|
|
Posted 19/09/2003 08:34:00 |
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: Yesterday @ 15:47:32
Posts: 1,954,
Visits: 3,012
|
|
Hi Benjamin, Thank you for the post - please keep me informed regarding your earlier problems and let me know if this occurs again. Regarding the JavaScript error your receiving this is due to the doPostBack bug within version 1.1 of the .NET Framework. You can find more information regarding this problem and a patch to correct the error at... http://www.instantasp.co.uk/kb/article.aspx?id=10125 This will fix the problem. I hope this helps. Please let me know if you have any questions 
 Kindest Regards,
Ryan Healey Director / Developer
Explore our products... http://demos.instantasp.co.uk/
|
|
|
|
Posted 17/03/2005 13:14:30 |
|
|
Junior Member
      
Group: Forum Members
Last Login: 01/04/2005 07:33:00
Posts: 26,
Visits: 1
|
|
"But if i log in as admin it takes me back to the home page but seems to be logged on as guest. When i click on any link the 'users online' count goes up but i don't have the admin cpl icon." I am having this issue as well, except if I close the browser and open a new one I still get "Welcome Guest" and only the options a guest has, no timed out message. How did you resolve the issue? I triple-checked my cookie settings: Override automatic cookie handling checked First-party cookies: Accept Third-party cookies: Accept Always allow session cookies checked I think I have everything set up correctly in IIS: Virtual Directory pointing to the instantforum34 directory (C:\Inetpub\wwwroot\instantforum34)
 A. Mulroy
|
|
|
|
Posted 17/03/2005 13:16:13 |
|
|
Support Supremo
      
Group: Customers
Last Login: 09/09/2008 21:04:36
Posts: 568,
Visits: 2,505
|
|
|
|
|
Posted 18/03/2005 07:41:25 |
|
|
Junior Member
      
Group: Forum Members
Last Login: 01/04/2005 07:33:00
Posts: 26,
Visits: 1
|
|
Bad news...  I installed the HotFix and it didn't resolve the issue. So I ran aspnet_regiis -ea, aspnet_regiis -c again, thinking that might help. Nope. 
 A. Mulroy
|
|
|
| | |