mBerube.net
A journey to .Net

From IIS 6 to IIS 7.5 : not as easy as it looks

Sunday, 27 June 2010 15:23 by mBerube
(Also available in: français)

I wanted to do some changes to my blog engine yesterday. I took my production code which run perfectly at my hoster on IIS 6 and I put it on my dev server on IIS 7.5. Nothing worked ! Error 401 (authentication) on every pages, even with Accept Anonymous request enabled. After many tries and searches, here's what I did to make it work, hopping it could be usefull for some of you :

  • 1st, I've created the application and put it in the Classic .Net AppPool
  • I verified that the default document was default.aspx. It wasn't so I put it on the top of the list.
  • Then, I checked if the user of the appPool had the required rights on the files. It's a little bit harder to check with IIS 7 because every appPool has a custom user. The only thing to check is that the IIS_IUSRS group has the required rights on the folder and it was ok.
  • It still doesn't work. I then saw on a blog post that even if you gave Anonymous user access to the site, you still need to setup which user to use as ananymous. My error was there and as soon as I put the anonymous user credential to "Application Pool Identity", boom, everything worked perfectly.

There's one last problem with an easy workaround but I still not understand. When i use the url http://myservername/blog (with a lower case b), it doesn't work BUT with the url http://myserbername/Blog (with an upper case B), it works? The application name is "Blog" but I didn't think that IIS treat URL as case sensitive. I will continue to look for that and I will keep you in touch.

Thanks, happy developping.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   BlogEngine.NET
Actions:   E-mail | del.icio.us | Permalink | Comments (14) | Comment RSSRss comment feed

Comments

11 May 2011 02:53

杭州酒吧

杭州酒吧街(hz98j.com)提供杭州地区最专业的杭州酒吧网,提供丰富的酒吧消费指南、酒吧人才、酒吧音乐、夜生活、夜店、杭州交友酒吧、杭州演艺酒吧和休闲娱乐资讯信息

杭州酒吧 People's Republic of China

24 May 2011 12:09

snooker videos

I wish to thnkx for the time you have made in writing this blogpost. I am hoping exactly the same best work of your stuff later on too. In fact your creative writing skill has inspired me to begin my very own blog now. Truly the blogging is spreading its wings quickly. Your write up is a fine illustration of it.

snooker videos Venezuela

31 August 2011 11:35

柳市房产

柳市房产网为您提供大量柳市房产网信息,您可以免费查询房地产信息网,房产信息网,房产信息,房产交易网等信息,同时您可以免费发布柳市房产网信息。

柳市房产 People's Republic of China

31 August 2011 11:35

尼龙扎带

宗旨:以人为本、诚信创业
理念:提供最满意的产品
要与时俱进,才能解放思想
要深入改革,才能永葆青春

尼龙扎带 People's Republic of China

04 September 2011 13:01

尼龙扎带

温州尼龙扎带,温州防水电缆接头,温州防水接线盒厂,扎带固定座报价

尼龙扎带 People's Republic of China

07 September 2011 15:39

Sanford Plewa

Nicole Scherzinger has recently mentioned that she is glad that she succeeded Cheryl Cole in relation to the X-Factor USA. She is persuaded she is actually 'better served' as a judge than as a host.

Sanford Plewa United States

29 September 2011 11:31

英文URL外链收割机

新版本URL外链收割机收割思路
1、根据别人的某个站,找他的外链发布地址,找出它是在哪里发的外链;
或根据URL和页面的特征,找针对性页,比如blogengine类型BLOG的评论页,留言本,论坛帖子页等;
2、去分析这些收割来的地址,
(1)看看是否dofollow(2)是否是可以发布的页(3)出链数多少以及(4)谷歌是否收录(5)页面的pr值;
3、这些已经是可以用的外链发布页了,再拿这些页去找,都有哪些站在这里发过外链 (其实又找到了很多 所谓的别人的站 就又可以进行第一步开始的循环)
最终就是找到大量的可以发布外链的地址!

英文URL外链收割机 People's Republic of China

29 September 2011 11:31

尼龙扎带

温州尼龙扎带,温州防水电缆接头,温州防水接线盒厂,扎带固定座报价

尼龙扎带 People's Republic of China

29 September 2011 11:31

尼龙扎带

尼龙扎带首选乐清市创新机械有限公司,专业尼龙扎带厂家,产品规格齐全,品质优异。

尼龙扎带 People's Republic of China

05 October 2011 10:41

英文外链

新版本URL外链收割机收割思路
1、根据别人的某个站,找他的外链发布地址,找出它是在哪里发的外链;
或根据URL和页面的特征,找针对性页,比如blogengine类型BLOG的评论页,留言本,论坛帖子页等;
2、去分析这些收割来的地址,
(1)看看是否dofollow(2)是否是可以发布的页(3)出链数多少以及(4)谷歌是否收录(5)页面的pr值;
3、这些已经是可以用的外链发布页了,再拿这些页去找,都有哪些站在这里发过外链 (其实又找到了很多 所谓的别人的站 就又可以进行第一步开始的循环)
最终就是找到大量的可以发布外链的地址!

英文外链 People's Republic of China

05 October 2011 10:42

尼龙扎带

尼龙扎带首选乐清市创新机械有限公司,专业尼龙扎带厂家,产品规格齐全,品质优异。

尼龙扎带 People's Republic of China

15 November 2011 09:02

英文外链

新版本URL外链收割机收割思路
1、根据别人的某个站,找他的外链发布地址,找出它是在哪里发的外链;
或根据URL和页面的特征,找针对性页,比如blogengine类型BLOG的评论页,留言本,论坛帖子页等;
2、去分析这些收割来的地址,
(1)看看是否dofollow(2)是否是可以发布的页(3)出链数多少以及(4)谷歌是否收录(5)页面的pr值;
3、这些已经是可以用的外链发布页了,再拿这些页去找,都有哪些站在这里发过外链 (其实又找到了很多 所谓的别人的站 就又可以进行第一步开始的循环)
最终就是找到大量的可以发布外链的地址!

英文外链 People's Republic of China

30 November 2011 02:06

Dunia Digital

Suppose it's a useful post indeed! Just bookmarked it!

Dunia Digital Kenya

23 December 2011 22:33

Auto Owner Manual

Strongly suggest adding a "google+" button for the blog!

Auto Owner Manual United States

Add comment




  Country flag

biuquote
Click to change captcha
  • Comment
  • Preview
Loading