Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Deploying from filesystem dotnetnuke project to IISDeploying from filesystem dotnetnuke project to IIS
Previous
 
Next
New Post
8/19/2008 10:39 AM
 
Hi I have been developing a website based on filesystem project for last couple of weeks. Now we want to deploy it over iis. I created a virtual directory on my local iis first and pointed it to the source code directory. When I tried to browse the default.aspx page, it threw an error saying "login failed for user machinename/aspnet " to resolve this , i added aspnet user into my sql server db and gave access to schema like dbo, dbo_owner etc. after this the login problem got resolved but then i m getting The stored procedure 'dbo.GetPortalAliasByPortalID' doesn't exist Please let me know why is it trying to install the DNN again. I dont want to install it again .. I just want to deploy the existing dnn website to which I have added my own code and data tables etc. Please help asap. Regards
 
New Post
8/19/2008 12:18 PM
 

DNN is trying to install again because it can't find the original installation.  Are you sure that your aspnet user can see dbo.GetPortalAliasByPortalID? 

If you changed the web.config file when you deployed, make sure that the objectQualifer on the data provider matches what was there before.

Hope it helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
8/19/2008 12:26 PM
 
Hi Brian To make things straight. I created a new website and this time selected http based website under my local IIS and then added all the code from filesystem based website manually. This was now I have a filesystem based website and another one based on local iis. When I build and run the filesystem web site. it works fine the asp.net web server. But when I try to run the iis instance of website, it doesnt. How do I check if ASPNET has access to dbo.GetPortalAliasByPortalID as mentioned by you? How do I check data provider ObjectQualifier. I am really struggling with this for the whole day.
 
New Post
8/19/2008 12:59 PM
 
Now its giving me error as The stored procedure 'dbo.AddEventLog' doesn't exist When I added ASPNET user into my sql server security logins and assigned it to my database. It appeared in the Database -> Security ->Users but when I checked its properties for securables, it does not show anything. Even if I add all the objects of dbo schema, it does not add it. It shows as if it has added but when you close and open the properties box, its not there. I think it may be that ASPNET is not able to access these SPs. Why, I dont know ? Please let me know how do I make ASPNET user connecting to the SQL Server 2005. Thanks
 
New Post
8/19/2008 1:09 PM
 

Open up the web.config files at the root of your two websites.  Search for objectQualifier, and make sure that they are the same (should both be empty).  Near the top of your new website's web.config, there should be a connection string element (which is repeated in the appSettings section).  I would consider changing this connection string to use SQL authentication (create a SQL login in Management Studio, assign that login to your database, make sure it has db_owner permission for that database).  Then it will be a lot easier to test what permissions that user has available to is (you can just log into Management Studio with that user's credentials).

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Deploying from filesystem dotnetnuke project to IISDeploying from filesystem dotnetnuke project to IIS


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out