Home
TeamSite
Problem creating workspace using VB.Net
GlenW
I am currently creating a VB.Net object that will create a matter workspace when a new matter is created from our matter intake system (ASP.Net). This object will be a middle-tier business object that takes in all the paramters needed and returns the moniker of the newly-created workspace.
My boss wrote a prototype/proof-of-concept application as an example to me of how to do this. His prototype was working 2 weeks ago. Now, however, all I get in my app and all he gets in his prototype is an "Server was unable to process request. --> Object reference not set to an instance of an object." error when attempting to create a workspace using the factory in Worksite.
The command looks like this:
_moniker = fcty.CreateWorkspace(gl._DBName, templateMoniker, _workspaceName, _description, _category, _defaultSecurity, aclItems, _
profileItems, notification, _profileErrors)
Values:
gl._DBName = "Content" -- This IS the name of the database.
templateMoniker = "!nrtdms:0:!session:mmwebdev:!database:Content:!page:2378:" -- mmwebdev is the test server where worksite is running.
_workspaceName = {matter number/name}
_description = {matter description}
_category = "PROGRAMS"
_defaultSecurity = imPublic
aclItems = 3 security items:
profileItems = 2 profile items (matter number and client number)
notification = 1 item
_profileErrors = nothing
CAVEAT: Our iManage Admin/Guru is out of the office this week. Apparently he changed something on both the test and production servers having to do with WebsiteDB (or something). I'm trying to get more info from him.
If anyone has any information or suggestions, it would be greatly appreciated.
Sincerely,
Glen Wolinsky
Miller & Martin PLLC
Find more posts tagged with
Comments
jny
The next WorkSite Web hotfix should resolve this issue. Date of release is tbd.
GlenW
Any ETA on this hotfix?
jny
What is ETA?
Migrateduser
Estimated time of arrival = ETA I think.
lissa
jny
It will not be slated for undergoing QC cycle until the end of next week; thus it won't be available until probably the end of August.
jny
ty!
GlenW
Well, here we are a month later. We have eagerly awaited the hot fix to enable me to create a workspace from vb.net. We installed it....I tried it.....and it still does not work!!!!!
The data is the same as my example above but it still returns an error: "Server was unable to process request. --> Object reference not set to an instance of an object."
I FULLY ADMIT that this may be some problem with MY code and not an Interwoven problem. BUT, based on what everyone has told me in regards to the code I've posted, my code SEEMS solid. Really, using the factory to create a workspace is quite simple. Just instantiate it. Feed it the parameters and let it go!
Below is posted the data from the factory object as shown in my watch variables list just after the exception is thrown.
Please help!
Glen
-----------------------------------
fcty {MMWorksiteLib.WorkSiteWeb.Factory} MMWorksiteLib.WorkSiteWeb.Factory
AllowAutoRedirect False
ClientCertificates {System.Security.Cryptography.X509Certificates.X509CertificateCollection}
Count 0
Item ""
ConnectionGroupName ""
Container Nothing
CookieContainer Nothing
Credentials {System.Net.SystemNetworkCredential} System.Net.ICredentials
Domain ""
Password ""
UserName ""
DesignMode False
Events {System.ComponentModel.EventHandlerList}
Item <cannot view indexed property>
PreAuthenticate True
Proxy Nothing
RequestEncoding Nothing
Site Nothing
Timeout 100000
UnsafeAuthenticatedConnectionSharing False
Url "
http://mmwebdev/worksite/services/factory.asmx
" String
UserAgent "Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.573)"
crubert
Hi Glen,
I am the support manager for Interwoven WorkSite. We discovered a problem in the HF1 build that forced us to remove the fix from that release for another QC cycle. However, we did not wish to delay HF1 since it has a broader impact than just a Web Service fix.
We are working on a post-HF1 fix specifically for customers who which to consume the Web Service. I expect that to be posted in the next two days, assuming that there are no issues discovered with the build. We will post this on our support site as soon as this is available (
http://worksitesupport.interwoven.com
). I would be happy to email you with the update as well when it is available.
If you would like to contact me, you can email me at
crubert@interwoven.com
-Chris
jny
It has just been discovered that the fix did not make it in the HF1 as intended...technical problems. So I think they are planning on releasing the correct version of the DLL (that has the fix) in a service patch. No knowledge on the ETA.
GlenW
The latest hotfix seems to have done the trick.