473,795 Members | 3,122 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

copying asp.net projects across machines...

I've been working on a asp.net web application, which hooks into a database
on a sqlserver server, and want to allow another person to view, and edit
the project locally on their machine.

What's the easiest way to setup the project on their machine?

First, I copyed my InetPub/wwwroot etc etc source files accross to their
machine. Then they've created a new project on their machine, so that the
IIS stuff is initialised properly, then using, "Add Existing Items", they've
added all their local copy of the source to their project.

This all works great, until the database is accessed... It says there is
something about a SQLServer connection error and access rights etc. So I
found the connection I'd made and deleted it, then, through server explorer
found the server and database i wanted and drag and dropped it and
initialised it so i could see all the tables etc fine. But the same problem
occurred on the database.Open() command.

i. How do I fix this?
ii. Alternatively, am I going about this the hard and backward way when .Net
suggests otherwise?

Thanks!!
Dan.
Nov 17 '05 #1
0 1001

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3399
by: Macca | last post by:
Hi, I have a C# Solution/Application that contain 4 projects. Each of these projects needs at some time to access the same database. I would like to know how to share a single connection between these projects as i assume this would be more efficient than having a separate connection string for each project.
1
1579
by: Kent Ogletree | last post by:
I have a solution the is composed of 2 projects. The first is the main web application itself and is written in VB.NET. The second is a web service written in C#. The main application launches a window that interacts with the Web Service. However the session variables in the Web Service are NULL and generate an exception. I have found no information about utilizing session variables across projects in the same solution. Is it possible...
0
1569
by: Chris Morse | last post by:
Hi, I am creating a solution with two projects. Basically, they share a few common class files and forms. I finished one project, and it compiles and runs fine. I just finished bringing in the second project, and I get the following error on one of the forms when it is invoked: ----------------------------------------------------------------- An unhandled exception of type
0
1562
by: rcolby | last post by:
Hi, A little advice on code sharing across projects, namespaces and dll's for references. I've got an application that is split between three different projects (one for a service, one for manual operation of the service and web client for the interface to the user). There are a lot of functions that are shared through these projects and I'm using the following format which is store in ApplicationNamspace.vb and doesn't seem to work...
3
1931
by: kamere | last post by:
For your N-tier solutions. Have you architected your UI, Business, and DAL layers into one single project or have you separated them out into separate projects? What would be the benefits of having all 3 layers in one project vs breaking them out to there own separate projects?
0
769
by: Andy | last post by:
Hi I've encountered a peculiar problem. I work on some projects at work and at home. To move my work between machines I save all my work on a USB flash drive, open on both machines. No problem. Today I forgot my USB drive at work and had to zip the file, and mail it home. When I now tried to open the project file, I get an message saying the location is not supported, even though it is located on my local disk in the same structure as...
5
937
by: Josh | last post by:
ASP.Net 2.0 question. I've copied web pages from an another project into a new project using the "Add, Existing Item" menu options It copied over the aspx and aspx.cs files but will not compile. It appears that the control declarations that should be in the hidden partial class have not copied. Now I cant get into design mode. How do I generate the control declarations? Do I have to find and copy a
4
1234
by: | last post by:
I'm going to ask the really short version of a rambing scenario I posted in Feb.: http://tinyurl.com/2nx4k7 The short version: a) A VS.NET solution can comprise many projects. If you're working in a project and you build, will it build just the project or the whole solution? b) Can binaries can be shared across multiple projects in the same solution? c) Can code/classes be shared across multiple projects in the same solution? d) Can...
4
3800
by: Daniel Jeffrey | last post by:
I have created a Resource file that stores common icons used in my projects. I have a solution that contains 2 projects, and I keep getting errors if I add the resource file to both projects. It complains about duplicates etc etc. I have tried adding it to the Solution, but then it doesn't appear in the Designer under resources in the Project.
2
1972
by: Jeff Dege | last post by:
I'm working with a group that's been doing C++ coding for quite a long time, now, and in that environment we've pretty much worked out development practices that serve us well. We've been doing more and more, over the last few years, in C# and ASP.NET. Some web apps, some background services. In our C++ code base, we have a fair number of statically-linked libraries that contain code we share between projects. At this point, in our...
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10439
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10165
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10001
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9043
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6783
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.