I have a Sharepoint webpart which calls webservice. The Sharepoint site is being migrated to new servers and from Sharepoint 2003 to 2007. I have to update the webparts. The question isn't really about Sharepoint though!
The Web service is a .Net 1 assembly. The web parts are .Net 2 (I could rebuild them in 3.5 if it helps but not 4!). The web service needs to be enabled using machine level code access security and the is done with a Full Trust URL group.
The new server is Windows 2008 and I'm struggling to put the code access security on. The .Net 1 configuration tools aren't in control panel and the .mrc (?) control app isn't in the framework 1.* folders. Caspol is in the framework 2 folders and so I can create some scripts. Unfortunately I can't test them as the business security seems to stop me running them (I can test them on my XP machine but not on a test server). This means I want to double check I'm doing the right thing before I get someone to run them.
Can anyone tell me if
1) Caspol is the way to go...
2) I may have a problem because the caspol file is in the framework 2 structure but the web service is a framework 1 app? (I assume this needs framework 1 security even though it is remote and accessed through a URL?!)
Thanks in advance for any assistance.