473,395 Members | 1,937 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.

No touch deployment

Hi,,
Is there somebody who can answer my question about this machanism.

I have an application which calls a webservice to get current time and date
( simple).
I have put these two on the server and client requests this application
through IE (No touch deployment) .everything is fine .
My problem is that in my application I read some settings from an xml file
and I don't know how to get the application path on the server ,I am using
the following statement but it returns an strange path like
"http:\myserver\test".
string
strAppPath=Path.GetDirectoryName(Assembly.GetExecu tingAssembly().CodeBase).R
eplace(@"file:\","");

Thanks in advance for your time.

ALI
Nov 16 '05 #1
3 1236
Hello ALI-R,

So the XML file exists on the web server? Can't you create a WebMethod that
returns something like Settings object that has all the properties for your
app settings?
Hi,,
Is there somebody who can answer my question about this machanism.
I have an application which calls a webservice to get current time and
date
( simple).
I have put these two on the server and client requests this
application
through IE (No touch deployment) .everything is fine .
My problem is that in my application I read some settings from an xml
file
and I don't know how to get the application path on the server ,I am
using
the following statement but it returns an strange path like
"http:\myserver\test".
string
strAppPath=Path.GetDirectoryName(Assembly.GetExecu tingAssembly().CodeB
ase).R
eplace(@"file:\","");
Thanks in advance for your time.

ALI

Nov 16 '05 #2
I will give it a try,sounds like a good idea,,
I will let you know.how about files like icons and picures ,what I should do
with them ,samething you think?
"Hayato Iriumi" <hi*****@hotmail.com> wrote in message
news:33*********************@news.microsoft.com...
Hello ALI-R,

So the XML file exists on the web server? Can't you create a WebMethod that returns something like Settings object that has all the properties for your app settings?
Hi,,
Is there somebody who can answer my question about this machanism.
I have an application which calls a webservice to get current time and
date
( simple).
I have put these two on the server and client requests this
application
through IE (No touch deployment) .everything is fine .
My problem is that in my application I read some settings from an xml
file
and I don't know how to get the application path on the server ,I am
using
the following statement but it returns an strange path like
"http:\myserver\test".
string
strAppPath=Path.GetDirectoryName(Assembly.GetExecu tingAssembly().CodeB
ase).R
eplace(@"file:\","");
Thanks in advance for your time.

ALI


Nov 16 '05 #3
Sorry,No I can't do that because the name of the server on which the
webservice is ,is also one of the elements in the setting file.
it must be in the application directory ,there must be a way to get a hold
of the directory which application is loading from

"Hayato Iriumi" <hi*****@hotmail.com> wrote in message
news:33*********************@news.microsoft.com...
Hello ALI-R,

So the XML file exists on the web server? Can't you create a WebMethod that returns something like Settings object that has all the properties for your app settings?
Hi,,
Is there somebody who can answer my question about this machanism.
I have an application which calls a webservice to get current time and
date
( simple).
I have put these two on the server and client requests this
application
through IE (No touch deployment) .everything is fine .
My problem is that in my application I read some settings from an xml
file
and I don't know how to get the application path on the server ,I am
using
the following statement but it returns an strange path like
"http:\myserver\test".
string
strAppPath=Path.GetDirectoryName(Assembly.GetExecu tingAssembly().CodeB
ase).R
eplace(@"file:\","");
Thanks in advance for your time.

ALI


Nov 16 '05 #4

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

Similar topics

2
by: Robert May | last post by:
I have an application that processes text strings using information in a file. I want to deploy this app using no-touch deployment. The config files and everything else are deployed just fine,...
3
by: Marek | last post by:
Hi there, my WinForm application has to be installed in "no-touch-deployment" mode, so users can run it from the web. I need to read application's .config file but it does not work in ...
4
by: wobbles | last post by:
Hi Everyone, I'm really struggling to get no-touch deployment to work well (if at all, in some cases). Can anyone recommend a good book on this topic? There seem to be a lot of blogs about...
1
by: Bruce W...1 | last post by:
Can "No touch deployment" applications run in IE, like a Java Applet, or are they strictly Windows desktop applications? Thanks for your help.
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
0
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
2
by: Niklas | last post by:
Hi I have a remoting client/server application. The clients subscribes to a server event. All works fine if client is used as a window application, but when the client is used with No-Touch...
0
by: feng | last post by:
Hi, I am having a strange problem right now and I don't even know how to go about it. Someone please help me! Any inputs will be highly appreciated. We have an application that has a VB.Net...
1
by: =?Utf-8?B?dmNs?= | last post by:
Short version: IE7 and .NET Framework 2.0 breaks no touch deployment for .NET 1.1 applications. IE6 and .NET Framework 1.1 + 2.0 works fine. IE7 with .NET Framework 1.1 only is fine, once we add...
0
by: Spam Catcher | last post by:
Hi all, Are there any 3rd party one touch deployment tools? For example, if I want to move a one touch deployment between servers, I need to do a whole bunch of setting changes (change XML,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
0
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...
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...

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.