I am trying to publish a geoprocessing service in 10.1 to utilize the Table to Domain geoprocessing tool. I want a domain to be dynamically generated every time this gp service is called. I have tried everything suggested by the help file here http://resources.arcgis.com/en/help/main/10.1/index.html#//00vp0000002r001270, but nothing works. I have tried publishing from results of the tool itself AND creating a model with all the appropriate values (no user-input values) and both run just fine in Desktop and does what is expected. However, when I attempt to publish as a geoprocessing service I get the error. The workspace names within the model that the domain is written to is fairly short and so is the staging location (C:\Temp) and service name. PLEASE HELP!!