Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5 > ASP.NET 4.5 General Discussion
ASP.NET 4.5 General Discussion For ASP.NET 4.5 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4.5 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 11th, 2015, 01:20 AM
Registered User
Join Date: May 2015
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP.NET 4.5 Forms application on asphostportal

I created an ASP.NET 4.5 forms app and it works fine on my computer. When I published it to my www.asphostportal.com account, it is failing with this error.

went in IIS Manager and created a virtual directory "app.name". That is the folder inside which I put all my app files under root. But it is still throwing that error. I tried looking at books, like "Pro C# 5.0 and the .Net 4.5 Framework" but nothing about authentication for forms. I have not used membership before as I never had to deal with users. What am I missing here?

Please don't suggest redoing this in MVC. Not feasible. I appreciate any suggestions or directions.
Old May 11th, 2015, 03:49 AM
Registered User
Join Date: May 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ans

Old May 11th, 2015, 08:53 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

Instead of creating a virtual directory, create an Application instead (it's in the same IIS right-click menu as New Virtual Directory.)

@Attaullah: your post isn't really adding any value to help resolve the issue from the OP. Please consider what you're posting before you hit Submit Reply. Thanks.


Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Old May 11th, 2015, 09:44 PM
Registered User
Join Date: May 2015
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP.NET 4.5 Forms application on asphostportal

I have asked my hosting provider and they solve it in just few minutes. The key to solve it is to convert the folder to application. Cheers...

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forms in ASP.NET morteza ASP.NET 4 General Discussion 5 September 8th, 2010 03:34 AM
Savefiledialog in ASP.Net Forms arnabghosh ASP.NET 2.0 Professional 1 February 13th, 2010 08:39 AM
Creating Dynamic Forms with ASP.NET saturdave ASP.NET 1.0 and 1.1 Basics 5 November 23rd, 2004 06:10 PM
I need help with Frames and Forms in ASP.NET leex Classic ASP Basics 1 August 19th, 2004 11:44 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.