|
-
Mar 25th, 2008, 08:13 PM
#1
Thread Starter
Member
[RESOLVED] IIS problem??
i tried making a virtual directory in the IIS but they throw me this error.. Failed to access IIS metabase.
I tried by using the VS2005 to run it and i have no problems running it.. Do i need to make some changes to the web.config?? cause my database as i am using is MySQL.
thanks
-
Mar 25th, 2008, 09:11 PM
#2
Thread Starter
Member
Re: IIS problem??
the problem for the IIS has been solved.. ok.. I have another problem with it.. As in the VS2005, i add some coding to the web.config as i will direct me back to the login page. As it work fine in the VS2005 but when i tried putting it in the IIS.. I tried going into other pages and it can be done without even having to authenticate.. Does any one know where the problem lies??
thanks
-
Mar 26th, 2008, 02:35 AM
#3
Re: IIS problem??
 Originally Posted by dark87
i add some coding to the web.config as i will direct me back to the login page.
Show code.
-
Mar 26th, 2008, 03:32 AM
#4
Thread Starter
Member
Re: IIS problem??
<identity impersonate ="false"/>
<authentication mode="Forms">
<forms name ="trying" path="/" loginUrl="Default.aspx" protection="None" timeout="2"/>
</authentication>
<authorization>
<deny users="?"/>
</authorization>
thats about all i have change.. the database connection was in the class file
-
Mar 26th, 2008, 09:37 PM
#5
Thread Starter
Member
Re: IIS problem??
do i need to update my server extensions?? cause the iis said that my server extensions is old...
i am using IIS version 5.1
Last edited by dark87; Mar 26th, 2008 at 09:41 PM.
-
Mar 27th, 2008, 04:17 AM
#6
Re: IIS problem??
Hmm... I doubt you need to do that. If you have forms authentication, it should protect your pages. But it doesn't, which makes me wonder - what is the URL structure on 'production' and on DEV?
-
Mar 27th, 2008, 08:22 PM
#7
Thread Starter
Member
Re: IIS problem??
 Originally Posted by mendhak
Hmm... I doubt you need to do that. If you have forms authentication, it should protect your pages. But it doesn't, which makes me wonder - what is the URL structure on 'production' and on DEV?
can you say it in simplier terms?? if URL structure i don't know it means this..
http://myipaddress/TheWebSitePage
as the files are copied and put into wwroot to make that as the default page
-
Mar 28th, 2008, 02:27 PM
#8
Re: IIS problem??
Do you have the website configured to use ASP.NET 2.0 on the production server?
-
Mar 31st, 2008, 02:53 AM
#9
Thread Starter
Member
Re: IIS problem??
 Originally Posted by mendhak
Do you have the website configured to use ASP.NET 2.0 on the production server?
i have no idea how to configure.. Can teach me how to do it??
-
Mar 31st, 2008, 04:36 AM
#10
Re: IIS problem??
Go to IIS ( Start > run > inetmgr)
Expand the tree view till you get to 'default website'. Under that you should find "YourApplicationName". Right click that, properties, ASP.NET tab. You'll see a dropdown there where you can specify the ASP.NET version to use.
-
Apr 1st, 2008, 02:14 AM
#11
Thread Starter
Member
Re: IIS problem??
 Originally Posted by mendhak
Go to IIS ( Start > run > inetmgr)
Expand the tree view till you get to 'default website'. Under that you should find "YourApplicationName". Right click that, properties, ASP.NET tab. You'll see a dropdown there where you can specify the ASP.NET version to use.
well.. if that is the case.. i have chosen the ASP.NET version. the version i have chosen is 2.0.50727.. It stills go into the webpage (.html) extensions without asking for the person credentials..
-
Apr 1st, 2008, 04:55 AM
#12
Re: IIS problem??
Aah, .html extension. You see, this is the kind of information that you may think was irrelevent earlier, but is of relevance to us.
Your .html extensions are mapped to the ASP.NET ISAPI dll on your own machine but not on the remote server.
On the remote server, go to IIS, right click on your website/virtual directory, properties, configuration, and add the .html extension, mapping it to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
-
Apr 2nd, 2008, 09:02 AM
#13
Thread Starter
Member
Re: IIS problem??
Thanks!! it is now working!
-
Apr 2nd, 2008, 10:00 AM
#14
Re: IIS problem??
Good work! Add [Resolved] to the thread title, future searchers will benefit from your experience.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|