Click here to Skip to main content
15,911,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an asp.net 3.5 web application project that I would like to publish my project on internet.



My project works fine on my local IIS, however, after I published to Somee.com, the Membership system (asp build-in login function) somehow does not work.

Therefore, I've been looking for a web server or a way to publish my asp.net web application.


Can anyone help me with this, thanks
Posted
Comments
Stephen Hewison 11-Oct-13 3:50am    
How is it not working? Does it still work intermittently? Does Somee.com support web gardening? Does your application support web gardening?

1 solution

I have not worked with ASP.Net membership, but i what i came to know about it is that it will create some tables in the database the moment you enable asp.net membership features. Make sure you have created all these tables on your web server also. Running the command "aspnet_regsql" from the command prompt will start the wizard for the creation of Asp.net membership tables.
 
Share this answer
 
Comments
Pai809 15-Oct-13 9:07am    
Hi Madhu Sasi Nair,

I've tried to run the "aspnet_regsql", but somehow the wizard shows an error that could not find the database. Should I do anything before running aspnet_regsql?

thanks
Madhu Nair 16-Oct-13 0:35am    
Hi,

I tried the same on my end and the wizard successfully created all the required tables without any issues. Try starting the command prompt using "Run As Administrator" option. May be the login you are using don't have administrative rights
Pai809 21-Oct-13 5:00am    
hi,

I attached it to SQL express and login as .\sqlexpress, then i found it, and run it properly.

I also changed my connection string from web.config to match the uploaded connection string from somee.com, secondly, change the <membership> and <rolemanager> section to load from my connecitoStringName.

However, it shows error on <rolemanager> section, Do you know why?
Pai809 21-Oct-13 5:01am    
here is the web message: http://tmr0012.somee.com/
Madhu Nair 21-Oct-13 5:33am    
Look at bottom of the error message "Version Information: Microsoft .NET Framework Version:2.0.50727.6387; ASP.NET Version:2.0.50727.6387" which indicates that your application is configured for ASP.Net 2.0. Change the version to 4.0 in IIS

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900