Sharepoint 2010 Calendar Webpart Issue

Windows 2012 R2 Server
SharePoint 2010 SP2 November CU
Microsoft SharePoint Designer

I added a new List Calendar to schedule all my maintenance jobs and I need them in 1 minute intervals not every 5 minutes

So I found this article
http://techtrainingnotes.blogspot.com/2011/06/sharepoint-edit-date-and-time-in-one.html

Which helped me setup the calendar webpart  EditForm.aspx and NewForm.aspx

I got past one error by unchecking Allow Attachments

I can enter a start time of 12:27 am and end time 12:27 am  no problem

But when I hit save I get this error
"An Unexpected error has occurred"
Correlation ID 0e025........"      see attached images

I ran ulsviewer and searched for the correlation ID but could not find it

Also read somewhere where to change the web.config file

1.  Remote into the Sharepoint Server and browse to:
 C:\Inetpub\wwwroot\wss\VirtualDirectories\<port number> (this is usually port 80)
 2.  Open up web.config file (using notepad).
 3.  Find the node (use Edit, Find) that begins with <trust level=
 4.  Change the trust level to WSS_Medium
 5.  Save the web.config file.
 6.  Go to command prompt (start -> run -> cmd -> iisreset /noforce)
 
 *Note* If the trust level is already set to WSS_Medium, just run iisreset /noforce from the command prompt.



My current setting is

    <trust level="WSS_Minimal" originUrl="" />



Will this help?????


Thanks in Advance

Tom
Calendar-error.png
Calendar.png
LVL 23
Thomas GrassiSystems AdministratorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rainer JeschorCommented:
Hi Tom,
hm, not sure but the datetime issue is a bad design by MS.
And I doubt that there is an easy change, especially as the calendar / event item type is such a specialized built-in programmed entity ...

My advice: accept the limitation of not having each minute in the datetime fields
Alternative: Look at Codeplex, there has been a custom field type for DateTimes - but not sure if this will work for events and all the built-in hardcoded functionality (e.g. double bookings ...).

Anything in the Windows Event log?
Whats in the ULS log for that particular time Frame (+- 30 seconds)?
Single server?

Very extreme option:
Installing Visual Studio (Debugger) and try to get exceptions from within a SharePoint DLL ...

KR
Rainer

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Thomas GrassiSystems AdministratorAuthor Commented:
Rainer

Nothing in the event logs
I cant find anything in the ULS log
Yes single server for the Farm

When I create an event and just add the fields that are required it will save the event

It is when I try to set up a repeating schedule for the event is when it fails

i downloaded visual debugger will play with that soon


Any thing else to check?

Thanks
Mohit NairSenior AssociateCommented:
Hi Tom,
Not sure if its feasible to schedule all maintenance jobs in every 1 min since it hits your timer job big time impacting performance.
Secondly, If you enter start time as 12:27 am and end time 12:28 am does that execute ??
Please trace the correlation error you get while saving it.
Use this command to find the actual cause
Merge-Splogfile -correlation <correlation id> -path "Path Location"
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

Thomas GrassiSystems AdministratorAuthor Commented:
Mohit,

Did you see this article?
http://techtrainingnotes.blogspot.com/2011/06/sharepoint-edit-date-and-time-in-one.html
It shows modifying the calendar to except 1 minute entries that is what I changed using Microsoft SharePoint Designer

Secondly, If you enter start time as 12:27 am and end time 12:28 am does that execute ??  No same results

Only way it works if I do not "Make this a repeating event"  then it adds the event to the calendar

I was able to run this
Merge-Splogfile -correlation f54e577e-4052-4084-b763-11412304d525  -path "C:\LOGS\calendar.log"

See attached log


Does the log tell you anything?

Thanks
calendar.log
Thomas GrassiSystems AdministratorAuthor Commented:
Rainer

Very extreme option:
 Installing Visual Studio (Debugger) and try to get exceptions from within a SharePoint DLL ...


Just installed this tool not familiar with this tool any suggestions on what I need to do here?
Thomas GrassiSystems AdministratorAuthor Commented:
To All,

Update

I have it working now.

1. Deleted the Calendar List
2. Created New Calendar List
3. Used Microsoft SharePoint Designer to modify newform.aspx using the instructions from this link
http://techtrainingnotes.blogspot.com/2011/06/sharepoint-edit-date-and-time-in-one.html
the SharePoint 2010 Steps
4. Only modified the newform.aspx then I tested and it was able to save the calendar event with 12:27
am
5. after that I then edited the calendar event and this time the times 12:27 was still there
6. So I then changed the event to a repeating vent and that updated no problem
No correlation errors
7 It is a two step process to enter the event but that is ok for now

The second set of instructions I did not do since the calendar events are now working
Thomas GrassiSystems AdministratorAuthor Commented:
Have it working see last post.

Thanks for all your help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.