473,395 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Releasing to the development server

I have been working on an ASP.NET (with VB.NET code behind) on my
development workstation. Things have been going well and I have been
posting changes to the project to a development server (running W2000
Server) for the 'customers' to view as I accomplish goals. I have been
using the feature in VS.NET that allows you to upload the project from
inside VS.NET and although I have had success in the past with it sometimes,
this project throws an error whenever I try to use the tool:

"Unable to create Web project 'intranet'. The UNC share '\\...' does not
exist or you do not have access."

To work around this (and try to get my project done) I have been copying all
the files from the project directory on my development workstation to the
project directory on the development server. This was working fine until
today.

Today, I added the .NET MS Web Controls DLL to the project so I could use
the treeview control. As I always do, I copied all the files to the
development server and tried to run the app, but while the opening project
screen displayed, the treeview control was obviously not being recognized.
Like I mentioned, the app works fine in development so that should indicate
I have the dll in the bin directory, I have referenced the dll in the
project and set up the control properly on the aspx page.

I am having lots of other problems getting my project from the development
workstation to the server, but this is an unusual problem that I have not
yet run accross. Does the dll need to be initialized or registered somehow
on the server? What else might cause this problem and how can I correct it?

Scott
Nov 18 '05 #1
5 1538
Hi,

Tree control comes with images, did you copy them to thE right location
also. there are cases that XML files that load as treeview source faild
to load (usually while tring to load them from directories without
rights or not using sERVER.MapPath).

HTH

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #2
Hi Scott,

As for the redistributed the IE WebControls to another machine, I think we
have to make sure the following things:
1. The "Microsoft.Web.UI.WebControls.dll" should be located in your
WebApplication's Virutal Direcotry's sub "bin" folder

2. Check your develop machine's Site root folder, there will have a certain
folder named "webctrl_client" it will contains the Image, script file or
other resources required by the IE WebControls. So you need to copy the
"webctrl_client" folder to the certain site's root folder (On the deploy
server).

So your deploy server's site and app folder structure should like:

site root\
webctrl_client\
1_0\
images\
treeimages\
some .htc files

webapproot\
bin\

Microsoft.Web.UI.WebControls.dll

In addition, here are some former threads discussing the similiar issue,
you may also reference to them:

http://groups.google.com/groups?hl=z...&threadm=eg3QN
zLRDHA.3768%40tk2msftngp13.phx.gbl&rnum=1&prev=/groups%3Fhl%3Dzh-CN%26lr%3D%
26ie%3DUTF-8%26oe%3DUTF-8%26q%3D%27ASP.NET%2BTreeview%2Bexample%2Banyone%2 7%
2B

http://groups.google.com/groups?hl=z...&threadm=uOUd9
hu0BHA.2724%40tkmsftngp03&rnum=9&prev=/groups%3Fhl%3Dzh-CN%26lr%3D%26ie%3DUT
F-8%26oe%3DUTF-8%26q%3D%27ASP.NET%2BTreeview%2Bexample%2Banyone%2 7%2B

Thanks.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Nov 18 '05 #3
Steven,

Thank you for your reply. After reading your email and reading the 2 links
you sent, I tried a number of things, but nothing seems to be working. It
appears that my dilema is very close to that of the user in the second link
you provided. Here is what I have right now on my development server:

I noticed that the development server did not contain the webctrl_client
directory and my
development workstation did, so I copied it to the server and confirmed that
the Microsoft.Web.UI.WebControls.dll file was in the application's bin
directory. I now have the webctrl_client directory in both the wwwroot
directory for the site and also in the application directory itself

I copied the Microsoft.Web.UI.WebControls.dll file to the
<drive>\winnt\Microsoft.NET\Framework\v1.0.3705 directory. No change

I then ran IEWebControls.exe on the development server and ran Program
Files\IE Web Controls\build.bat, but this did not seem to make a difference.
Even running the site by viewing it on the development workstation (where it
runs in development) by pointing it to the development server, does not show
the treeview control correctly.

The forum links you provided seem to outline the same problem I am having
(the items in the treeview are shown as text without line brakes).
Unfortunately their solutions don't seem to be working for me here.

Please suggest something as I am out of ideas. Even if you have me run
through a list of items to do to get this to work, I am willing to try it.

Scott


"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:a4*************@cpmsftngxa10.phx.gbl...
Hi Scott,

As for the redistributed the IE WebControls to another machine, I think we
have to make sure the following things:
1. The "Microsoft.Web.UI.WebControls.dll" should be located in your
WebApplication's Virutal Direcotry's sub "bin" folder

2. Check your develop machine's Site root folder, there will have a certain folder named "webctrl_client" it will contains the Image, script file or
other resources required by the IE WebControls. So you need to copy the
"webctrl_client" folder to the certain site's root folder (On the deploy
server).

So your deploy server's site and app folder structure should like:

site root\
webctrl_client\
1_0\
images\
treeimages\
some .htc files

webapproot\
bin\

Microsoft.Web.UI.WebControls.dll

In addition, here are some former threads discussing the similiar issue,
you may also reference to them:

http://groups.google.com/groups?hl=z...&threadm=eg3QN zLRDHA.3768%40tk2msftngp13.phx.gbl&rnum=1&prev=/groups%3Fhl%3Dzh-CN%26lr%3D% 26ie%3DUTF-8%26oe%3DUTF-8%26q%3D%27ASP.NET%2BTreeview%2Bexample%2Banyone%2 7% 2B

http://groups.google.com/groups?hl=z...&threadm=uOUd9 hu0BHA.2724%40tkmsftngp03&rnum=9&prev=/groups%3Fhl%3Dzh-CN%26lr%3D%26ie%3DUT F-8%26oe%3DUTF-8%26q%3D%27ASP.NET%2BTreeview%2Bexample%2Banyone%2 7%2B

Thanks.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx


Nov 18 '05 #4
Hi Scott,

It does seem a bit strange. Don't worry, let's look for some other
approaches.

<drive>\winnt\Microsoft.NET\Framework\v1.0.3705 directory mentioned in the
certain thread
is for asp.net 1.0, so if you're using asp.net 1.1 I don't thing it'll
make sense.

Well, I think you can still have a try on the following things:
1. What's your server's IIS version? IIS6 or 5?
I'm not sure whether it's necessary, but I think you can have a check of
the default site(on the deployment server) 's home directory, is it specify
to another location rather than the default "inetpub/wwwroot" which cause
the problem?

2. Since its a server machine, I suggest that you create another test site
and copy the webctrl_client dir under that site's root folder and create a
new web application under that new site. This time, I think you can create
a simple web application(not use the one with problem), just with some page
which has used the treeview web control. There are some sample pages in the
IE WebControl's install folder, I think that'll be helpful to test.

3. Also, you can try uninstall and reinstall ASP.NET on the server via
execute
aspnet_regiis -u
aspnet_regiis -i
command in the vs.net commmandline prompt, or directory go to the
<drive>\winnt\Microsoft.NET\Framework\v1.0.3705 //for 1.0

or<drive>\winnt\Microsoft.NET\Framework\v1.1.4322 //for 1.1

to run the aspnet_regiis tool.

Hope these will help. Good luck!.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Nov 18 '05 #5
Steven,

I started going through your suggestions when it occured to me that there
are other things going on that I have not included because the items are not
directly related to our issue. So, on a whim, I decided to try loading the
web site to another server (W2000) that is available and it worked fine!
So, I am assuming at this point that there is something wrong with the
server itself. As my app works on another server I will continue working on
that server and start some new threads on issues with the treeview control
itself. I am also going to add a thread to describe my server issues.
Please look for these new threads.

Thank you for your help!

Scott
"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:BA**************@cpmsftngxa10.phx.gbl...
Hi Scott,

It does seem a bit strange. Don't worry, let's look for some other
approaches.

<drive>\winnt\Microsoft.NET\Framework\v1.0.3705 directory mentioned in the
certain thread
is for asp.net 1.0, so if you're using asp.net 1.1 I don't thing it'll
make sense.

Well, I think you can still have a try on the following things:
1. What's your server's IIS version? IIS6 or 5?
I'm not sure whether it's necessary, but I think you can have a check of
the default site(on the deployment server) 's home directory, is it specify to another location rather than the default "inetpub/wwwroot" which cause
the problem?

2. Since its a server machine, I suggest that you create another test site
and copy the webctrl_client dir under that site's root folder and create a
new web application under that new site. This time, I think you can create
a simple web application(not use the one with problem), just with some page which has used the treeview web control. There are some sample pages in the IE WebControl's install folder, I think that'll be helpful to test.

3. Also, you can try uninstall and reinstall ASP.NET on the server via
execute
aspnet_regiis -u
aspnet_regiis -i
command in the vs.net commmandline prompt, or directory go to the
<drive>\winnt\Microsoft.NET\Framework\v1.0.3705 //for 1.0

or<drive>\winnt\Microsoft.NET\Framework\v1.1.4322 //for 1.1

to run the aspnet_regiis tool.

Hope these will help. Good luck!.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx


Nov 18 '05 #6

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

Similar topics

4
by: lebo | last post by:
Hi I'm trying to understand how Python handles memory usage and dynamic object loading and unloading. Problem to solve? Build a very low memory footprint (non-GUI) Python application for...
31
by: poisondart | last post by:
Hi, I'm not sure if this is the right group to post this. If not, then I would appreciate if somebody could point me to the correct group. This is my first time releasing software to the...
18
by: lylefair | last post by:
Can you post code, or a reference to a md? or ad? file on a website, where object variables are not released when they go out of scope and cause a problem, (but causing a problem is extraneous to...
6
by: Klaus Jensen | last post by:
Hi! I have a pretty traditional setup where I develop on my local PC and the use "Copy Project" to deploy to the production enviroment.. In web.config I need different values for...
7
by: trialproduct2004 | last post by:
Hi all I am having application in c# where i am loading one table of database into dataset. My table is of large size. so whenever i am loading that into dataset my memory size is getting...
8
by: Sean | last post by:
I have a service that is pulling alot of records from a SQL Server table in a DataSet. This process takes up alot of memory, which is to be expected. But when the process is finished, I am clearing...
2
by: Oenone | last post by:
I've an ASP.NET 2.0 project into which various Plug-In DLLs can be installed. I'm running it in the ASP.NET Development Server. In order to load one of the PlugIn DLLs I'm using...
4
by: Richard Levasseur | last post by:
(Forewarning, most of these problems and solutions come from being the only developer in a 1 server department with no budget, few resources, unresponsive IT, and non-technical managers, so thats...
3
by: ssylee | last post by:
For example, I have a BITMAPINFO* and a BYTE* object to release the resources. Would the most bulletproof way of doing so involve checking to see if they are null, then if they are not, invoke a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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...
0
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...
0
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,...

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.