 |
|
 |
How to set administrator rights for IIS (web application asp.net 2.0) which had the reference of DriveInfoEx.dll to run in windows server 2003 and windows vista business edition ?
Kindly give me inputs.
Regards,
Christopher.
|
|
|
|
 |
|
 |
Hello sir,
Will you please update this for VS2008?
So, can able to use it with Visual Studio 2008... Or please provide help to use it with VS2008. It shows so many compilation errors with VS2008...
Thanks!!!
|
|
|
|
 |
|
|
 |
|
 |
you can try to find dependencies with depends.exe and see if it works when added manually.
There is no guarantee that it would work that way though.
|
|
|
|
 |
|
 |
This is exactly what I needed -- hard drive serial number without using WMI. Good work!
|
|
|
|
 |
|
 |
i'm getting this error when users run my exe that refrenced with driveinfoEx.dll
Could not load file or assembly 'DriveInfoEx, Version=1.1.3487.25050, Culture=neutral, PublicKeyToken=null' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
but it works great on my machine,could you help me plz.
|
|
|
|
 |
|
 |
you might be missing .net 2.0 on that machine.
|
|
|
|
 |
|
 |
This means that you do not have the Visual C++ 2008 Redistributable Package installed.
|
|
|
|
 |
|
 |
Have your problem resolved ?
|
|
|
|
 |
|
 |
It worked on vista for me.
|
|
|
|
 |
|
|
 |
|
 |
Disable UAC and it should work in user or admin mode or run it as admin
|
|
|
|
 |
|
 |
firstly i want to thank you a lot for sharing your code! it is exactly what i was looking for.
the only thing i can't really figure out, is how to give the .dll a strong name.
i recompiled your project in visual basic 2005.
placing in /keyfile:strongkf.snk /delaydesign and
in "$(FrameworkSDKDir).\Bin\sn.exe" -q -Ra "$(TargetPath)""$(ProjectDir).\strongkf.snk"
works fine so far in XP/2000 but not under Vista.
Exception of HRESULT: 0x80131040
Do you have any ideas on that or any other solution tackling this issue?
I am very much looking forward to your answer!
Thanks a lot!
|
|
|
|
 |
|
 |
somehow it removed the places where i added /keyfile... and "$(FrameworkSDKDir...
for /keyfile it is "Linker/Command Line"
for "$(FrameworkSDKDir... it is "Build Events/Post-Build-Event"
|
|
|
|
 |
|
 |
figured it out now - placed it in debug and used the debug version instead of the release now it's working
|
|
|
|
 |
|
 |
i was trying to use the code in my applet for logitech G15 but it's hard for a noob and your code can only get data from my nforce sata drives
it's my second app, the first one was to control winamp with commandline
i have never seriously read anything about programming so i hardly understand just the simplest functions
i am worse at programming than to write in English
but i have used some code from diskid32 "ReadPhysicalDriveInNTWithZeroRights"
and it works, but not perfectly. i have 8 sata ports (4 nforce and 4 sil 3114)
and i can get data from sata, usb, scsi (the onboard sil 3114 is listed as scsi)
i can't get serial number from usb devices but i don't think there are any to get
to get the correct serialnumber from scsi i use
char * sserialNumber = (char*)descrip + descrip->SerialNumberOffset;
strcpy_s (serialNumber , sserialNumber);
not flipAndCodeBytes
for (drive = 0; drive < MAX_IDE_DRIVES; drive++) drive is the drives real Physical ID
using this with Win32_PerfFormattedData_PerfDisk_PhysicalDisk (string Name)
http://msdn.microsoft.com/en-us/library/aa394262(VS.85).aspx
i can associate all logical drives with the right physical drive
it is not impossible that there is an easier way to do this
it is possible to use this with in admin rights, there is no big difference
without admin rights
hPhysicalDriveIOCTL = CreateFile (driveName, 0,
FILE_SHARE_READ | FILE_SHARE_WRITE, NULL,
OPEN_EXISTING, 0, NULL);
with admin rights
hPhysicalDriveIOCTL = CreateFile (driveName,
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE , NULL,
OPEN_EXISTING, 0, NULL);
it's just a drive that I can not get the right information on. the first drive on the sil 3114
i only get Vendor Id "SiImage".
but everest get all information right so i think there is a better way to get this information.">uituio[
|
|
|
|
 |
|
 |
Hi,
When i run My Project there is ERROR that
Could Not load file or assambly " DriveinfoEX.dll, 1.1.3326.15292 Culture=neutral,Public key token=1 or its dependensy. the application faild to start because its side by side configration is incorrect please see the application event log for more detail(Exception from HRESULT:0x800736B1)
Thanks & Regards
Form :-
Vikash Yadav
|
|
|
|
 |
|
 |
sounds like you don't have the .net 2.0 runtime installed or there are some policy restrictions for the config file for the machine.
|
|
|
|
 |
|
 |
Can you explain what you mean by "or there are some policy restrictions for the config file for the machine." as I have the same problem and I do have .net 2.0 runtime installed?
Generally when my program uses your latest dll it works, but on a rare occasion, a particular laptop or PC it does not. If I then replace the new dll with your old dll built on 26 January 2007, it works.
When I replace the dll with one I build from the latest source, it does not work on these odd PC's
Can you help?
|
|
|
|
 |
|
 |
Sounds like there is something about the .net version on that machine.
I know even .net 2.0 has a service pack.
|
|
|
|
 |
|
 |
I know this is a late reply, but this means that you do not have the Visual C++ 2008 Redistributable Package installed.
|
|
|
|
 |
|
 |
@Vikash Yadav
have your problem resolved?
|
|
|
|
 |
|
 |
Sir, when I am compiling the DLL, the size of the driveinfoex.dll is 108 KB as I have not change any line of given source code...and your file size for DriveInfoEx.dll is only 76 KB ...
Why this difference has been occured? or please give me some of ideas for compiling this DLL to reduce the size from 108 KB...
Does the DLL support Windows Vista or not???
Thanks...
|
|
|
|
 |
|
 |
do you use the same version of visual studio?
Are you sure you built the release version?
I've never tested on Vista, so I don't know.
|
|
|
|
 |
|
 |
Sir,
Which version of visual studio you are using?? and please give me some instruction to compile this with less size...as you have done...
Thanks... :|
|
|
|
|
 |