473,386 Members | 1,699 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,386 software developers and data experts.

could not find part of the path

hi experts

i have a problem with vista.. i have a activex in .net(VS2005) and embed that in a web page.. when i run the page on server2003, xp , and also on some vista systems..it work fine and able to run and doing own work ..

but in some vista system activex works but throw an exception
that
could not find part of the path 'c:\users\comvision\Appdata\Local\microsoft\window s\temarary internet files\Virtualized\c:\users\comvision\Appdata\Local \Temp\Low\asgd23.tmp'

when i checked this path i found that ~\Temp\Low is not there..
if i manually make a folder with name Temp and Low inside it .. then it start working.

so i am not able to under stand what sholud i do..
this problem come in some vista PC and on other vista PC it works fine..

please help me out.. i reallly indeed.. pls

thanks
Jan 2 '09 #1
4 4070
Plater
7,872 Expert 4TB
Is asgd23.tmp a file you use in your activeX? Are you not instanciating your directories correctly maybe?
Not sure why it would for some and not others, but that usually means there is a permissions issue I think.
Jan 5 '09 #2
tlhintoq
3,525 Expert 2GB
In all my C# windows forms apps I always make sure that I make the directory I'm expecting before doing anything else. If the directory already exists, then no harm. Then I wrap the writing function in a construct such as...
Expand|Select|Wrap|Line Numbers
  1.  if (Directory.Exists(myFolderVariable)
  2. {
  3. ... // Code for writting
  4. }
  5.  
Just to cover the bases in case I don't have permissions to that path.

Can you do something similar with your ActiveX project?
Jan 6 '09 #3
hey guys never mind....
i found the solution for that..

actully in vista browser u have disble on efeature.. in tool>>>internetoptions>>>security
here u find a check box "Enable Protected mode"
make sure this is unchecked.. if it is checked then pls disable this.,.
and agian reload the browers .. and u will see it works...


atleast for me it works... :)
Jan 7 '09 #4
Plater
7,872 Expert 4TB
Heh, with Vista, most problems seem to come down to a permissions issue
Jan 7 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Matthias Ludwig | last post by:
I'm trying to create a directory on the web server with a vb.net code: .... Dim dirName As String = "w:\filepath\images" If Not Directory.Exists(dirName) Then...
1
by: Alex | last post by:
Hello, in my company, we have a diagnostic tool for hardware. Depending on the hardware projcet, a different project configuration is needed. The configuration file is written in XML and...
5
by: Tom Vogel | last post by:
Creating a subfolder within my ASP.NET application folder fails with the above error, but only at my hosting provider. The command: Directory.CreateDirectory(path) Path is set to...
0
by: jessica | last post by:
Hi, I got a problem "Could not find a part of the path". On my loca machine I mapped the V:\LoggerNet to a remote server folder where th real-time data come in. I checked the file, it gets updated...
0
by: haylow | last post by:
Hi I am new to ASP.NET and am working on an application that runs on a webserver. The user will open up the web interface in a browser on their local machine and enter a path to a directory. I...
1
by: Steve | last post by:
Hi all, I am referring to this article in MSDN : http://msdn.microsoft.com/library/en-us/secauthn/security/logonuser.asp While creating folder on the remote machine, we are specifying the UNC...
9
by: Clinton Frankland | last post by:
Hi, On a Windows 2000 Server when attempting to use System.IO.Directory.CreateDirectory(string.concat(Server.MapPath(""), "\verify")) I receive a System.IO.DirectoryNotFoundException error:...
14
by: Gianfranco | last post by:
Hi everybody, First of all, sorry for my english if it isn't perfect ;-p I have an error in an asp.net application. I have win2003 server, with iis 6. I'm developping with visual studio...
2
by: Guoqi Zheng | last post by:
Dear sir, I am trying to save a binary data by below script, however,it always give me an error of "Could not find a part of the path "C:\temp\". " Any idea what I did wrong here? ...
3
by: gogaz | last post by:
Hi, I know query in Subject line "Could not find a part of the path" has been replied before lots of time, but mine is bit different. My web server is windows 2003 R2 with both .net framework...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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
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,...

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.