Free Download:
|
| |
| CBJ | Asp.Net User |
| Unable to get started with DNN | 8/28/2003 5:40:38 PM |
0/0 | |
|
Hi
Please forgive a complete newcomer to DNN for being a bit dim, but I've been tearing out what little hair I have trying to get DNN to work. I've read through as many "getting started" articles on here as I can find, and tried all the tutorials as well, and still I'm not getting anywhere. I'd be really grateful for any help anyone can offer. I'll try to provide as much information as I can to avoid wasting people's time.
I'm running WinXP Pro on a machine which is not connected to a network (other than the Internet, obviously). I've got SQL Server 2000 installed, and both VS.NET 2002 and 2003 (so the .NET Framework has presumably been upgraded to 1.1). With that setup I have managed to get everything running successfully with an oldish version of the IBuySpy Portal, but I am keen to give DNN a try as it seems to have a some useful enhancements.
The first problem I had was that I followed the instructions for installing DNN in the Readme.txt file, but when I got to the bit about "browse to localhost/<<<my website>>>" (this not the real website name, obviously), I get the following error:
Server Error in '/<<<my website>>>' Application.
--------------------------------------------------------------------------------
Server cannot access application directory 'C:\<<<my path>>>'. The directory does not exist or is not accessible because of security settings.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
I looked around, and tried to set the security settings for the path I was using, but the dialog that came up when I used the "Sharing and Settings..." option in Explorer was missing the "Security" tab (i.e. the tab shown in the 403-3.htm file that comes with DNN). I hadn't done anything stupid, like logged in as a user without admin rights so I was baffled by that, and even more baffled when that particular problem went away when I moved everything around so the folder containing the DNN files was in the root of my C: drive.
However, that didn't solve things entirely as I just got a different error:
Server Error in '<<<my website>>>' Application.
--------------------------------------------------------------------------------
Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection.
I checked the forums again and found references to setting SQL Server to "mixed mode". Now I wasn't entirely sure what this meant, but I checked the SQL Server settings and made sure they said authentication was by SQL Server and Windows rather than just Windows. I also followed the link to the Microsoft site in another post about a similar problem, and checked the registry settings that that referred to. No joy.
Not one to give up easily, I went for the alternative option of changing the web.config file to use a Trusted Connection rather than a UID and PWD (although ultimately I want this to run in a multi-server environment). This changed the error message again to:
Server Error in '/<<<my website>>>' Application.
--------------------------------------------------------------------------------
Cannot open database requested in login '<<<my website>>>'. Login fails. Login failed for user '<<<username>>>'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Cannot open database requested in login 'CMAL'. Login fails. Login failed for user '<<<a username>>>'.
Looking at the IBuySpy Portal database, I noticed <<<username>>> had db_owner rights to that database, so I gave it the same rights to the new one. That solved that error, and gave me yet another new one:
Server Error in '/<<<my website>>>' Application.
--------------------------------------------------------------------------------
Could not find stored procedure 'GetPortalByAlias'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Could not find stored procedure 'GetPortalByAlias'.
So now I am stumped and have absolutely no idea what to do next. I really want to rewind a bit and get folder security issue sorted first, then I want to enable the system to connect using a defined UID and PWD rather than the Trusted Connection, and then finally I'd like to see DNN running!
Apologies again for the length (and possibly stupidity) of my post, and thanks in advance to anyone prepared to help.
Cheers
CBJ |
| jwhite | Asp.Net User |
| Re: Unable to get started with DNN | 8/29/2003 10:55:35 AM |
0/0 | |
|
execute all of the .sql files in the dotnetnuke database folder in SQL Server's Query Analyzer (in order) while it is connected to your DotNetNuke Database
Jeremy
Jeremy White Webstone, LLCMy DNN Blog |
| CBJ | Asp.Net User |
| Re: Unable to get started with DNN | 9/4/2003 4:59:11 PM |
0/0 | |
|
Hi again
OK, after much mucking about I have managed to get DotNetNuke to start, albeit still using a Trusted Connection instead of a database user account (for installation at least) and with the folder to which the virtual directory is mapped being in the root directory of the C: drive.
The problem turned out to be my not knowing which of the components I could and could not give names other than "DotNetNuke" during the installation process.
1. Physical Folder
The name of this doesn't appear to matter ("C:\Fred" is as good as "C:\DotNetNuke"), but I still can't work out a) why I don't have a "Security" tab on my Folder Properties form and b) why it works in some places (root of C: drive) but not in others (C:\....\My Documents).
2. Database
The name of this seems to be irrelevant as long you change the "Database=" part of the connection string in the Web.Config file to match. To install the database, it seems to require a Trusted Connection, but having completed the installation it appears to work ok with a database user account instead (I am not 100% whether this really is working).
3. Virtual Folder
This one MUST be DotNetNuke when you perform the installation, as I discovered to my cost. You can change it afterwards by changing the Portal Alias, ignoring the subsequent DotNetNuke error, and then changing the virtual folder name in IIS (in fact I simply deleted the old one and created a new one with the name I wanted).
If anyone can help me with the outstanding folder questions, or advise me on how to perform the installation without using a Trusted Connection, I'd be most grateful.
Cheers
CBJ |
| aus_nexxus | Asp.Net User |
| Re: Unable to get started with DNN | 9/5/2003 3:22:37 AM |
0/0 | |
|
I f you want to use a name other than DotNetNuke in your address you can do it by creating a new virtual directory called for example "MyNewDNNSite" then alter the dotnetnuke.sln file. In the top of the file you will see
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "DotNetNuke", "http://localhost/DotNetNuke/DotNetNuke.vbproj", "{79D3BA0F-F76F-4A84-AE7F-C6A01EC247F9}"
ProjectSection(ProjectDependencies) = postProject
Change this bit http://localhost/DotNetNuke/DotNetNuke.vbproj to
http://localhost/MyNewDNNSite/DotNetNuke.vbproj.
The open up the solution in VS and when you run it this is the path you will see.
Hope this helps.
Philip Beadle (MVP, MCAD, DotNetNuke Core Team) |
|
| |
Free Download:
|
Books: Professional DotNetNuke 4: Open Source Web Application Framework for ASP.NET 2.0 Authors: Shaun Walker, Joe Brinkman, Bruce Hopkins, Scott McCulloch, Patrick J. Santry, Chris Paterra, Scott Willhite, Dan Caron, Pages: 517, Published: 2006 Beginning DotNetNuke 4.0 Website Creation in VB 2005 with Visual Web Developer 2005 Express: From Novice to Professional Authors: Nick Symmonds, Pages: 448, Published: 2006 Beginning DotNetNuke 4.0 Website Creation in C# 2005 with Visual Web Developer 2005 Express: From Novice to Professional Authors: Nick Symmonds, Pages: 391, Published: 2006 Halachos of Tefillin Authors: Shimon D. Eider, Pages: 222, Published: 1984 The Edwin Smith Surgical Papyrus: Hieroglyphic Transliteration, Translation and Commentary Authors: James Henry Breasted, Pages: 636, Published: 2006 Web:unable to get project from web server - ClientAPI Component [Lead ... Resources Getting Started Knowledge DotNetNuke Online Help ... NET 2003 visualizes this error: "unable to get project from web server". ... Unable to cast object of type 'ASP.default_aspx' to type ... Recently I started getting this error upon visiting a page with a gallery module ... I get the same problem using DNN 4.0.1 Here's my log AssemblyVersion: ... Unable to get DNN 3.0 working behind hardwre load balancer - ASP ... Unable to get DNN 3.0 working behind hardwre load balancer. Last post 08-23-2005 6:45 PM by BigWebmaster. 4 replies. Sort Posts: ... Unable to get Image as background to work. > DotNetNuke Module ... SQL Server Reporting Services - Getting Started .... DotNetNuke Modules > Flash Info Cube > Unable to get Image as background to work. ... Unable to get the project file from the Web server. - ASP.NET Forums Today I tried to open the DotNetNuke.sln file in Visual Studio .NET and I got the error: "Unable to get the project file from the Web server ... I started writing our DotNetNuke book Nov 6, 2008 ... 5/21 Capital DotNetNuke User Group Presentation ... planned to go to sleep, but Natalie is out of town so I took the time to get started. ... Unable to get Image as background to work. > DotNetNuke Module ... Open-DocumentLibrary allows DotNetNuke users to share and manage documents in a flexible, ... Subject: Unable to get Image as background to work. ... Unable to login to DNN site. - Webhost4life Forum Dotnetnuke. Started by curt at 09-19-2005 7:13 AM. ... then add "ctl/Login/" before the default.aspx, you should get the Login control. ... .NET ASP.NET Unable to configure DNN 4.05.03 - Help needed Hi, I am trying to configure DNN 4.05.03 on VS 2005 (DotNet 2) But i am unable to get it working. I have followed the steps but i am being ... How to make custom skins based upon client requirements > Skinning ... Iam new to DNN .But I gathered good knowledge on DNN but the thing is that Iam unable to get a start on how to design a custom skin based on client ... |
|
Search This Site:
|
|