HTTP 404 page not found.

Mar 16, 2010 at 4:04 PM

Hi,

I followed all instructions to setup the MDT webservice, but whenever I browse to http://localhost/MDT/MDT.asmx I just get the page HTTP error 404 file not found.

When I browse to http://localhost/MDT I can see all the files, when I click one same result, http 404. What am I missing here?

Thanks.

 

Mar 17, 2010 at 9:51 AM

I solved this problem myself. If anyone wants to know, you have to Allow 'All unknown ISAPI Extensions' in the Web Service Extensions list. This was with IIS 6.

Maybe this should be added to the manual.

 

 

Coordinator
Mar 18, 2010 at 1:25 PM

Interesting. I never had to enable all Unknown ISAPI extensions. Do you have the ASP.Net Web Service extensions for v1.1 and v2 on "Allowed"?

Mar 19, 2010 at 8:27 AM
Edited Mar 19, 2010 at 8:28 AM

Ah yes, that did the trick. For some reason there was no ASP.Net Web Service Extension v2, only 1.1.
I added it manually bij addin aspnet.isapi.dll to the web service extensions and set it to allowed.

Now it works! Thanks!
I still have one more issue though. When I use AD.asmx and use 'GetComputerNetbootGuid' and fill in the computername, I get the GUID back:

<?xml version="1.0" encoding="utf-8" ?>
  <string xmlns="http://maikkoster.com/Deployment">B2A44D56-5F99-C313-7854-0EC139AED883</string>

hHowever, when I copy/paste that guid in GetComputerNameByNetbootGuid it doesn't return the computername.  
<string xmlns="http://maikkoster.com/Deployment" />
I've been trying with and without dashes, no difference.
Any idea?
thanks again!

 

Mar 19, 2010 at 9:10 AM

I've been trying to do a deployment and then I get an error as well:

Unexpected response from web service: 500 Internal Server Error
GetComputerNameByNetbootGuidParameters=UUID Web Service method name is not valid.

This is my custom.ini:

[GetComputerNameByNetbootGuid]
WebService=http://server.domain.nl/MDT/AD.asmx/GetComputerNameByNetbootGuidParameters=UUID
UUID=netbootGUID
OSDComputerName=string

 

 

Coordinator
Mar 19, 2010 at 9:39 AM

calling aspnet_regiis.exe -i from the .Net v2 Directory (Typically C:\Windows\Microsoft.Net\Framework\v2.0.50727 or C:\Windows\Microsoft.Net\Framework64\v2.0.50727 for 64 Bit) should also do the trick. I will add this as a tip on the troubleshooting section.

Regarding the GetComputerNameByNetbootGUID Error, I think I found the issue. Would you mind testing a patch for me?

 

The problem with the cs.ini is just a typo. put "Parameters=UUID" into a new line. Should look like:

[GetComputerNameByNetbootGuid]
WebService=http://server.domain.nl/MDT/AD.asmx/GetComputerNameByNetbootGuid
Parameters=UUID
UUID=netbootGUID
OSDComputerName=string

 

Mar 19, 2010 at 10:37 AM

Thanks for your support!

I have tried this and indeed, the error message is gone.
But the computername is still: MININT-VIIPDGE, so not the AD name.

I think that has something to do with the GetComputerNameByNetbootGuid not working.

If I do that manually through AD.asmx, I only get this:

string xmlns="http://maikkoster.com/Deployment" />

If I do it the other way around, search the Computer it displays the netbootgui just fine.

<?xml version="1.0" encoding="utf-8" ?>
  <string xmlns="http://maikkoster.com/Deployment">B2A44D56-5F99-C313-7854-0EC139AED883</string>

I'm 100% sure it's the right guid, to be sure I deleted and recreated the AD account, but with similar results.

Thanks again!

 

Coordinator
Mar 19, 2010 at 11:00 AM

As mentioned in the last post. I probably found the cause for this issue and created a small patch. I can send it to you for further testing.

Mar 19, 2010 at 11:08 AM

Aaah ok I figured you were refering to the parameters section.

If you can sent it to me I would appriciate it! My email is martijn@kools-ict.com

Thanks!

 

Mar 26, 2010 at 12:37 PM

I'm also trying to use the GetComputerNameByNetbootGuid to work.

When I access the web service from IE it work, but when booting WinPE (LTI) the computername is MININT-.

I have attached the cs.ini file.

Thank you for any help.

[Settings]

Priority=ByLaptop,ByDesktop, Default, GetComputerNameByNetbootGuid

Properties=MyCustomProperty

 

[ByLaptop]

Subsection=Laptop-%IsLaptop%

 

[ByDesktop]

Subsection=Desktop-%IsDesktop%

 

[Default]

OSInstall=Y

 

_SMSTSOrgName=Sykehuspartner IKT

 

SkipCapture=YES

SkipAdminPassword=YES

SkipProductKey=YES

SkipAdminPassword=YES

SkipBDDWelcome=YES

SkipDomainMembership=YES

SkipUserData=YES

SkipPackageDisplay=YES

SkipLocaleSelection=YES

SkipTimeZone=YES

SkipFinalSummary=YES

 

BuildID=014

 

;ComputerName=PC-%SERIALNUMBER%

;OSDComputerName=PC-%SERIALNUMBER%

 

KeyboardLocale=0414:00000414

UserLocaleAndLang=nb-NO,nb-NO

UserLocale=nb-NO

UILanguage=nb-NO

 

TimeZone=110

TimeZoneName=W. Europe Standard Time

Administrators1=SIKT\Client Admins

;Administrators2=NT AUTHORITY\INTERACTIVE

;Administrators3=NT-MYNDIGHET\INTERAKTIV

 

UserDomain=SIKT

JoinDomain=sikt.sykehuspartner.no

UserDomain=SIKT

DomainAdmin=%UserID%

DomainAdminDomain=%UserDomain%

DomainAdminPassword=%UserPassword%

MachineObjectOU=OU=Maskiner Staging,OU=%SPOrgName%,OU=Foretak,DC=sikt,DC=sykehuspartner,DC=no

 

FinishAction=REBOOT

 

SLShare=\\SDS-DIST-03\MDTLogs$

;SLShareDynamicLogging=\\SDS-DIST-03\MDTLogsDebug$

 

;WSUSServer=http://update2.sykehuspartner.no

 

;DriverSelectionProfile=Nothing

;DriverGroup001=%Model%

;SkipGroupSubFolders=YES

;PackageGroup001=Nothing

 

SPSMSSiteCode=AUTO

 

[Desktop-True]

SkipBitLocker=YES

 

[Laptop-True]

SkipBitLocker=NO

BDEInstall=TPMPin

BDEPin=1234

BdeRecoveryKey=AD

;BDEWaitForEncryption=FALSE

BDEDriveLetter=U:

 

[GetComputerNameByNetbootGuid]

WebService=http://sds-dist-03/DeploymentWebservice/ad.asmx/GetComputerNameByNetbootGuid

;ADUsername=%UserID%

;ADDomain=%UserDomain%

;ADPassword=%UserPassword%

Parameters=UUID

UUID=netbootGUID

OSDComputerName=string

;OSDComputerName=PC-%SERIALNUMBER%

Mar 26, 2010 at 1:23 PM

Hi Havardp,

Maik sent me some new files which fixes that problem, I don't know if he has updated the website already with these new files.
In case he hasn't I have uploaded them to my webspace. If this is not appriciated let me know and I will delete the files.

http://www.xs4all.nl/~mkools/DeploymentWebservice.zip

This worked for me and should work for you.

Good luck.

 

 

Coordinator
Mar 26, 2010 at 3:09 PM

I will update the download within the next few weeks. There are a couple other changes that also need to be implemented before. But if you use the patched files from the above download it should do the trick. Or you send me an email and I will send the necessary files directly to you.

Maik

Mar 26, 2010 at 3:26 PM

Thank you for the updated files but it did not make any change.

I copied the three files to the bin folder and restarted the server.

If I do that manually through AD.asmx, I only get this:

string xmlns="http://maikkoster.com/Deployment" />

Some other operations work. Like GetADSite. I'm running on Windows Server 2003 R2 SP2

Thank you for any help.

Håvard

Mar 26, 2010 at 5:44 PM
havardp wrote:

Thank you for the updated files but it did not make any change.

I copied the three files to the bin folder and restarted the server.

If I do that manually through AD.asmx, I only get this:

string xmlns="http://maikkoster.com/Deployment" />

Some other operations work. Like GetADSite. I'm running on Windows Server 2003 R2 SP2

Thank you for any help.

Håvard

It worked for me, but I can see that you have MachineObjectOU specified in your cs.ini. I assume you pre-create the machine in the AD with the correct netboodguid and in the correct OU, so I think you need to remove that line?

Mar 29, 2010 at 7:00 AM

Is it any special requirements for how a computer account is created to be able to use this tool?

I get the UUID from servers/computers that are installed by RIS but not objects created through a manual domain join or MDT LTI (joined by unattend.xml).

-Håvard

Coordinator
Mar 29, 2010 at 7:50 AM

On default only RIS automatically adds the netbootGUID attribute to a new computer account. Computers joined by hand or by unattend.xml don't have this attribute available. If you would like to make use of this for all your computers you could add a step in your deployment process that sets this value after the computer has joined the domain. This way at least all new or newly imaged computers are available this way. Or you need to update most of the computer objects yourself, by either collecting the necessary information about all your computers and adding this attribute for each collected computer or you could add this as a step in your log-in script.

It just depends on what you would like to achieve with this.

Regards

Maik

Jan 3, 2011 at 2:53 PM

Hi Maik

I have the same error, like the Unexptected response from web service:500 Internal Server Error

GetcomputerNameByNetbootGuidParameters=UUID Web service method name is not valid.

 

I have replace the dll with yours, the patched one and when i run the sample script on ad.asmx page, it returned me the good name for my netbootGUID.

 

Did you know why it don't works ?

 

sorry for my bad english, i'm Swiss :D

 

Thanks a lot

 

Jon

Coordinator
Feb 4, 2011 at 6:37 AM

Hi Jon,

do you still have this problem when using the most recent version of the web service?

And as I'm german, my english isn't much better ;-) So feel free to contact me on german (or the swiss version of it :P )

Regards

Maik

Feb 4, 2011 at 12:39 PM
Hi MaikKoster,

No the problem was solve and all is working correctly.

thanks

Regards

jonathan

Envoyé de mon iPhone

Le 4 févr. 2011 à 08:37, "MaikKoster"<notifications@codeplex.com> a écrit :

From: MaikKoster

Hi Jon,

do you still have this problem when using the most recent version of the web service?

And as I'm german, my english isn't much better ;-) So feel free to contact me on german (or the swiss version of it :P )

Regards

Maik