Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 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 3rd, 2007, 09:16 PM
b67 b67 is offline
Authorized User
 
Join Date: Sep 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to b67
Default

The main problem is that I can't get the app to run past the login screen. I know it should be simple but for some reason I am missing the problem

I keep getting this


Server Error in '/FileShare' Application.
--------------------------------------------------------------------------------

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

 
Old May 3rd, 2007, 09:41 PM
b67 b67 is offline
Authorized User
 
Join Date: Sep 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to b67
Default

So I think I may have fixed the problem partially thanks to #2 in this article. http://www.aquesthosting.com/HowTo/S...QLError26.aspx

Now I get a bad login - which I assume is because there are no accounts in the newly created provider DB - any idea how to add them?

Any thanks for the tips so far

 
Old May 4th, 2007, 12:57 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

There are a number of ways to add them:

1) Using pages, with the CreateUserWizard

2) Using the API (e.g. Membership.CreateUser)

3. Using the "Database Publishing Wizard" (http://www.codeplex.com/sqlhost/Wiki...shing%20Wizard) that allows you to script an existing database to .sql files that you can import in your new server.

4) Using SQL Server DTS that allows you to copy data between two SQL Servers

5) WIth the Web Sire Administration Tool available from with Visual Web Developer.

Choice enough.... ;)

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old May 4th, 2007, 02:33 PM
b67 b67 is offline
Authorized User
 
Join Date: Sep 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to b67
Default

vielen Dank Imar, I have some other cryptic message I have to work on now - maybe you have an idea - I am trying to figure it out

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 5/4/2007 3:28:48 PM
Event time (UTC): 5/4/2007 7:28:48 PM
Event ID: e9fa79c745f440b8802f88ee59c89433
Event sequence: 22
Event occurrence: 3
Event detail code: 0

Application information:
    Application domain: /LM/W3SVC/1/ROOT/FileShare-16-128227798506197648
    Trust level: Full
    Application Virtual Path: /FileShare
    Application Path: C:\inetpub\wwwroot\FileShare\
    Machine name: ASERVER

Process information:
    Process ID: 2512
    Process name: aspnet_wp.exe
    Account name: GETHERE\IWAM_ASERVER

Exception information:
    Exception type: NullReferenceException
    Exception message: Object reference not set to an instance of an object.

Request information:
    Request URL: http://xyz.dyndns.tv:8887/fileshare/...nageEmail.aspx
    Request path: /fileshare/Management/ManageEmail.aspx
    User host address: 71.175.x.x
    User: admin
    Is authenticated: True
    Authentication Type: Forms
    Thread account name: GETHERE\IWAM_ASERVER

Thread information:
    Thread ID: 7
    Thread account name: GETHERE\IWAM_ASERVER
    Is impersonating: False
    Stack trace: at Config.get_ConnectionString() in C:\inetpub\wwwroot\FileShare\App_Code\Config.vb:li ne 9
   at EmailContentDB.GetEmailContent() in C:\inetpub\wwwroot\FileShare\App_Code\Dal\EmailCon tentDB.vb:line 48
   at EmailContent.GetEmailContent() in C:\inetpub\wwwroot\FileShare\App_Code\Bll\EmailCon tent.vb:line 36
   at Management_ManageEmail.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\FileShare\Management\ManageEmai l.aspx.vb:line 11
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:


 
Old May 4th, 2007, 02:44 PM
b67 b67 is offline
Authorized User
 
Join Date: Sep 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to b67
Default

I can't believe I got it to run - looks like the I had to replace a name in config.vb

Return ConfigurationManager.ConnectionStrings("Connection String").ConnectionString

    Public Shared ReadOnly Property ConnectionString() As String
        Get
            'Return ConfigurationManager.ConnectionStrings("Connection String").ConnectionString
            Return ConfigurationManager.ConnectionStrings("LocalSQLSe rver").ConnectionString
        End Get
    End Property

 
Old May 4th, 2007, 02:45 PM
b67 b67 is offline
Authorized User
 
Join Date: Sep 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to b67
Default

Oh, thanks again for your insight and patience - I can tell you are a good developer :)

 
Old May 4th, 2007, 04:03 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Glad it's working now...

BTW: Vielen dank is German, not Dutch.... ;)

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old May 18th, 2007, 10:05 PM
b67 b67 is offline
Authorized User
 
Join Date: Sep 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to b67
Default

Sorry about that - sometimes I lose track of what language I am speaking/typing - more often the former

English is not my primary language - but I get by :)

 
Old May 19th, 2007, 02:30 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Then maybe I misunderstood. I thought that "Vielen dank" was targeted at me. That happens here every now and then when people confuse Dutch with "Deutsch".... ;)

English is not my primary language either, so I understand your point... ;)

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Website project vs Web Application Project... thenoseknows ASP.NET 2.0 Professional 0 January 14th, 2007 09:47 PM
How do i Call one project to another project kau_shuk VS.NET 2002/2003 8 December 5th, 2006 10:02 AM
UserControl of One Project in Other Project gadhiav ASP.NET 1.0 and 1.1 Professional 2 February 18th, 2006 07:51 AM
Add report of one project into another project tejaswibv Crystal Reports 0 July 13th, 2005 04:40 AM
From 1 project to get access to another project hplim18 Pro VB.NET 2002/2003 0 March 30th, 2004 10:33 PM





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