Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 January 31st, 2005, 03:26 PM
Registered User
 
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Remote Webserver Deployment for ThePhile

I've been trying to get the downloaded code to work on a webserver located on our network, not on my local machine. It is company policy not to run webservers on our local machines. I'm also using VS.Net 2003 rather than ver 1.0 and so far I have been unsuccessful (after 1+ week) getting it to work in our environment. The webserver is not on the same domain, so I need to use FPSE to access it rather than file access mode. I am using the C# version of the book/code, so I'm not sure if the instructions that make reference to VB in directory names. etc. is appropriate in this case. Can anyone tell me if it is possible to run this thing on a remote web server, and if so, what modifications do I need to make to the code? When building the solution I get errors like "C:\stuff\VSWebCache\<remote machine name>\ThePhile\AdDetail.aspx.cs(12): The type or namespace name 'AdsManager' does not exist in the class or namespace 'Wrox.WebModules' (are you missing an assembly reference?)", et. al.. Thanks.


Regards,

Jerry

 
Old February 2nd, 2005, 01:27 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Of course it's possible. My site is remote, and I don't even know what state it's in (I bought an account over the web). I also use Front Page Server Extensions.

I'm using the VB dir names that I got from the doc file in the VB code download because they make more sense, and they line up with namespaces better. But my code is 100% C#: http://www.ericengler.com

Are you deploying to a virtual directory named ThePhile?

It sounds to me like you didn't upgrade the code to VS 2003 correctly.

Eric
 
Old February 8th, 2005, 09:05 PM
Registered User
 
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

<snip>
Are you deploying to a virtual directory named ThePhile?
>>>Yes
It sounds to me like you didn't upgrade the code to VS 2003 correctly.
>>Prolly not. I'm pretty much a newbie w/ C# and .Net, so prehaps you would be kind enough to tell me if there is a wizard or tool that will do this automagically? When I opened the project in VS 2003, it just informed me that it would convert it to the new format and this would not be backwardly compatible w/ v 1.0. Are there code changes you had to make manually?

Thx.

Jerry:)


 
Old February 8th, 2005, 10:37 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No code changes are needed, but you have to delete all the .DLLs and .pdb files that were compiled with VS 2002, and that means your references will be lost. You will have to "Rebuild all" in VS 2003, and it will probably stop several times and give errors about missing references. Thats when you have to set the reference with the new 2003 DLL's you made. This has to be done repeatedly until you get a sucessful "Rebuild all" using VS 2003.

This isn't a good project for newbies. You may find it hard to work with until you have more experience.

Eric





Similar Threads
Thread Thread Starter Forum Replies Last Post
webserver umeshtheone Struts 3 August 13th, 2008 12:35 AM
Connecting to a remote webserver using php sapphire87 PHP How-To 0 July 21st, 2006 12:05 PM
Problem with IIS webserver hawkfb63 ASP.NET 2.0 Professional 1 March 6th, 2006 12:53 AM
getting images from another webserver? schaar Classic ASP Basics 0 December 24th, 2003 01:52 PM
Web scripts installer - remote deployment madhukp Classic ASP Basics 0 October 8th, 2003 07:51 AM





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