Friday, October 25, 2013

Creating SCSM tickets using SMLets and ASP.NET

English: This is a photo of a room full of com...
English: This is a photo of a room full of computers all showing the same windows error message at the Nanyang Technological University in Singapore (Photo credit: Wikipedia)
I was trying to figure out how we could leverage ASP.Net to create more functional forms for end user ticket creation in SCSM.

Many would agree that the self service portal is a bit restricted and we needed a method for our Apps group to submit Change Requests that would comply with SOX.

I found a few examples around the net regarding the power of SMLets and PowerShell and eventually found that there are classes available in .Net for leveraging this.

My first major hurdle was determining why I kept getting a strange error message "Unable to access Windows PowerShell PowerShellEngine registry information." when trying to replicate these efforts.

My errors seemed to stem from trying to use assemblies built with prior versions of the .Net library, and instead of writing a wrapper of some sort to deal with this, I installed PowerShell 3 and all my problems went away. (Small clue here)

The caveat to this is that this new flavor is known to cause issues with Sharepoint, Exchange, Configuration Manager and SBS to name a few so read up on the known issues before you create an unresolvable issue.

I chose to deploy my solution into our DEV SCSM environment in same IIS Portal Site area, using our service account application pool created for this purpose. Windows Authentication is also Enabled for this site so we can pick up the users name in the application and use it in the Created By field in the ticket.



You can grab a copy of this project here.
Enhanced by Zemanta

5 comments:

Jeeshi said...


Very nice post here thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.

Informatica training in chennai

Abiya Carol said...

Hey, good day
Thanks for sharing such valuable information.I want more these type of informative blogs, and really thankful.If you want to get more information to share these followig links.

PPC Services in Chennai

Aasha said...

Here i had read the content you had posted. It is much interesting so please keep update like this.

SEO Training in Chennai

Shalini said...

Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.thank you for sharing such a great blog with us. expecting for your.
Digital Marketing Company in India
seo Company in India

Abiya Carol said...

Very nice post here and thanks for latest smartphone applications it .I always like and such a super colors of phone for these post.Excellent and very cool idea and great models and different kinds of the more information's.

Digital Marketing Course in Chennai