WCF Data services remove miliseconds from DateTime when expand

I get some strange behavior, when using WCF Data Services 5.6. In my case, I have table, with 1 column set with Concurrency=Fixed, and this column hold date time field from database, updated each time when row is edited. In case I just retrieve entity -
this column has correct value with milliseconds. But if I do mapping - milliseconds are removed.
Here is a issue at glance :
====================================================================
void Main()
var b = from p in TABLE1 where p.ID == 100 select p;
b.Dump();
Request in this case is : Data.svc/TABLE1(100M) And data returned from service is :
<d:COL1 m:type="Edm.DateTime">2015-02-16T12:13:52.972</d:COL1>
====================================================================
As you can see , here time is returned with milliseconds - .972 In other case :
void Main()
var tmp = from p in TABLE1 where p.ID == 100 select
new TABLE1()
ID=p.ID,
COL1=p.COL1
var a1 = tmp.ToList();
a1.Dump();
Request in this case is : Data.svc/TABLE1(100M)?$select=ID,COL1
<d:COL1 m:type="Edm.DateTime">2015-02-16T12:13:52</d:COL1>
====================================================================
Time is returned without milliseconds.
Does anybody have same problem? May be its a bug in the WCF Data services or in the model?

Ok, seems like I found an answer to this, or at least way to avoid the problem.
First I traced generated SQL from framework, and I see that in first case, im getting SQL
     SELECT ID, COL1 FROM TABLE1
and in second case, I got
     SELECT ID, CAST( COL1 AS DATETIME) FROM TABLE1
which cause the problem.
Then I tried to update EF to version 6, WCF Data services to version 5.6.3,
Oracle ODP to latest one, tried to use Oracle managed driver... no any success.
Then I played little bit with table definition, and I saw that my col1 with type TIMESTAMP in database and DateTime in the model was defined as NOT NULL.
If I remove this from database definition, I got right value with milliseconds.
So , may be this is a bug in Oracle driver, but probably this is a bug in the WCF Data Services. At least I found a way to use concurrency in my case with this solution.

Similar Messages

  • Wcf Data Service fails when more than 8properties  in the 'select=' portion

    Hi:
    I am using WCF Data Service and Oracle
    EF Provider is ODAC11.2 Release 4
    Wcf Data Service fails when more than 8 properties are specified in the 'select=' portion of the URI
    here is my code
    var q = from c in this.ctx.SALESORDER_ITEM
    select new
    c.SORDERDETAILID,
    c.IID,c.DMFLAG,c.OWNERID,c.SKUID,c.SKU_ID,c.TRADENO,c.SOURCEID,c.SORDERID
    excetion:
    InvalidOperationException: An error occurred for this query during batch execution. See the inner exception for details
    The inner exception is null, but the DataServiceClientException states: Value cannot be null Parameter name: value
    the exception is thrown in base.OnStartProcessingRequest(args) method (overridden).
    Here is the call stack as well:
    at System.Data.Services.WebUtil.CheckArgumentNull[T](T value, String parameterName)
    at System.Data.Services.Internal.ProjectedWrapper.set_PropertyNameList(String value)
    at lambda_method(Closure , Shaper )
    at System.Data.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper)
    at System.Data.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
    at System.Data.Services.Internal.ProjectedWrapper.EnumeratorWrapper.MoveNext()
    at System.Data.Services.DataService`1.SerializeResponseBody(RequestDescription description, IDataService dataService)
    at System.Data.Services.DataService`1.HandleNonBatchRequest(RequestDescription description)
    at System.Data.Services.DataService`1.HandleRequest()
    Is there a max number of properties in $select statement
    I think may be it is oracle provider's problem ,but i don't konw how to debug it Can anyone help me
    Any help is greatly appreciated

    I believe the null/empty string issue is unrelated to the 8 column issue, at least for ODP.NET. For example, let's take the original query in the OBE:
    http://.../yoursvcfile.svc/EMPLOYEES?$select=EMPLOYEE_ID,FIRST_NAME,LAST_NAME,SALARY,DEPARTMENT_ID,DEPARTMENT,EMAIL,PHONE_NUMBER,MANAGER_ID
    Let's make all the columns selected not nullable. You can do this with the Oracle Dev Tools. Specifically, PHONE_NUMBER and FIRST_NAME are the only nullable fields. I make them non-nullable and re-run the query and the same error occurs. Thus, these values should never be made null. Moreover, in all 107 rows, none of these row values consist of empty strings anyway.
    Looking into the problem further, WCF DS is calling methods in the System.Data.Services.Internal namespace.
    http://msdn.microsoft.com/en-us/library/system.data.services.internal.aspx
    Specifically, we see your issue when the ProjectedWrapperMany method is called. You will notice that there is ProjectedWrapper0, ProjectedWrapper1...ProjectedWrapper8 methods also present in the same namespace. As soon as the number of columns exceeds 8, ProjectedWrapperMany is called and we see the error. We're going to ask MS to help analyze the issue since this is an .NET-internal method being called.

  • Can't call WCF Data Service from within a WCF Service

    I am trying to query my WCF Data Service from within a WCF Service and I receive a error 404.  However, when I query the data service from my application, it works just fine.  The WCF Service will work just fine if I comment out the Data Service
    query request. 
    How do I get a WCF Service and a WCF Data Service to play nice?

    Hi,
    For this situation, first you could try to create the wcf data service and run it then consume the data service within your application by adding service reference.
    Here is an example for creating and consuming WCF Data service in console application, and for consuming the service in wcf service, you could just follow the same steps as the console application does.
    http://www.c-sharpcorner.com/uploadfile/dhananjaycoder/introduction-to-wcf-data-service-and-odata/
    Regards

  • WCF Data Service from Entity Framework 5 in SharePoint 2013

    not sure which forum is best, so im going to throw it in here.
    I am working on a proof of concept. I want to create a WCF Data Service within sharepoint 2013. not only do i want to do that, i want to use the Entity Framework 5 to expose the data via OData. Now, I have crawled the internet and seen various examples of
    how to create wcf data services and wcf services in sharepoint 2010/2013. and have tried to apply those as needed to create this POC. So.. what I have done so far. 
    MonitoringData.cs
    [BasicHttpBindingServiceMetadataExchangeEndpoint]
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
    [System.Runtime.InteropServices.Guid("0185abf6-e8b8-42e2-9965-6bb644338077")]
    public class MonitoringData : DataService<MonitoringServiceEntities>
    // This method is called only once to initialize service-wide policies.
    public static void InitializeService(DataServiceConfiguration config)
    // TODO: set rules to indicate which entity sets and service operations are visible, updatable, etc.
    // Examples:
    config.SetEntitySetAccessRule("*", EntitySetRights.AllWrite);
    config.SetServiceOperationAccessRule("*", ServiceOperationRights.All);
    config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V3;
    MonitoringData.svc:
    <%@ServiceHost Language="C#" Debug="true"
    Service="$SharePoint.Type.0185abf6-e8b8-42e2-9965-6bb644338077.AssemblyQualifiedName$"
    Factory="Microsoft.SharePoint.Client.Services.MultipleBaseAddressDataServiceHostFactory, Microsoft.SharePoint.Client.ServerRuntime, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    upon deployment, this error when hitting the https://server/_vti_bin/poc/monitoringdata.svc/$metadata
    "The type 'xxxxxxxx', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could
    not be found."
    Breaking out the google-fu, i found that adding the dll to the <compilation> section was needed for the web.config. so i did that. and now i just get a blank screen with no errors.
    so i crack open fiddler. i see the following 
    200 http
    tunnel to
    server:443 0
    401 https
    server /_vti_bin/poc/monitoringdata.svc/$metadata
    16
    401
    https server
    /_vti_bin/poc/monitoringdata.svc/$metadata
    0
    404
    https server
    /_vti_bin/poc/monitoringdata.svc/$metadata
    0
    best i can see is that im either not authorized, and its returning null (which shouldnt be the case) or something is just busted.
    The goal is to use ntml auth and https to connect to this service. any ideas?

    One thing I found was that it's never worth the trouble to place the WCF service in a web site running SharePoint, it's better to place it in a dedicated web site, as described in this article:
    http://sharepointdragons.com/2011/10/07/parallel-programming-in-sharepoint-2010-the-back-to-the-future-pattern/
    It's usually too much work to get the web.config settings right because of the settings it inherits from its parents.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com
    I'll say that it is one solution to move the WCF Service outside of sharepoint. but my "1000 mile" requirements makes this a necessity. 
    To broaden the scope of what I am doing, I have a custom SharePoint Service Application. this custom application has a proxy that used a restful interface. Now, with all the methods i will have to write (over 100, x3 for all of the "proxy to a proxy" scenarios)
    I wanted to explore the idea of using odata. so i can use the various clients to write their own queries instead of me writing them all and exposing them. especially since its all linq queries to a database underneath. I feel that I am missing some specific
    component to make this work, and its surely due to my incomplete knowledge of WCF or EF.

  • I have a macbook pro with OSX 10.9.3 and Safari 7.0.4. How do I remove BING FROM SEARCHING when i type something into the search bar

    I have a macbook pro with OSX 10.9.3 and Safari 7.0.4. How do I remove BING FROM SEARCHING when i type something into the search bar

    See below if the search engine setting was changed without your knowledge and you can't change it back.
    You installed the "Genieo/InstallMac" rootkit. The product is a fraud, and the developer knowingly distributes an uninstaller that doesn't work. I suggest the tedious procedure below to disable Genieo. This procedure may leave a few small files behind, but it will permanently deactivate the rootkit (as long as you never reinstall it.)
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data. You must know how to restore from a backup even if the system becomes unbootable. If you don't know how to do that, or if you don't have any backups, stop here and ask for guidance.
    Step 1
    In the Applications folder, there may (or may not) be an application named "Genieo". Genieo may be partially installed even if this item is absent. If it's present, select it and open the Finder Info window. If it shows that theVersion is less than 2.0, download and install the current version from the genieo.com website. This may seem paradoxical, since the goal is to remove it, but you'll be saving yourself some trouble as well as the risk of putting the system in an unusable state.
    There should be another application in the same folder named "Uninstall Genieo". After updating Genieo, if necessary, launch "Uninstall Genieo" and follow the prompts to remove the "newspaper-style home page." Restart the computer.
    This step does not completely inactivate Genieo.
    Step 2
    Don't take this step unless you completed Step 1, including the restart, without any error messages. If you didn't find the Genieo application, or if you couldn't complete Step 1 for any reason, stop here and ask for instructions.
    Triple-click anywhere in the line below on this page to select it:
    /Library/Frameworks/GenieoExtra.framework
    Right-click or control-click the line and select
    Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.
    If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    A folder should open with an item named "GenieoExtra.framework" selected. Move that item to the Trash. You'll be prompted for your administrator password.
    Move each of these items to the Trash in the same way:
    /Library/LaunchAgents/com.genieo.completer.update.plist
    /Library/LaunchAgents/com.genieo.engine.plist
    /Library/LaunchAgents/com.genieoinnovation.macextension.plist
    /Library/LaunchDaemons/com.genieoinnovation.macextension.client.plist
    /Library/PrivilegedHelperTools/com.genieoinnovation.macextension.client
    /usr/lib/libgenkit.dylib/usr/lib/libgenkitsa.dylib
    /usr/lib/libimckit.dylib
    /usr/lib/libimckitsa.dylib~/Library/Application Support/com.genieoinnovation.Installer~/Library/LaunchAgents/com.genieo.completer.download.plist
    ~/Library/LaunchAgents/com.genieo.completer.update.plist
    If there are other items with a name that includes "Genieo" or "genieo" alongside any of those listed above, move them as well. There's no need to restart after each one. Some of these items will be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    Restart and empty the Trash. Don't try to empty the Trash until you have restarted.
    Step 3
    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including ones called "Genieo" or "Omnibar," and any that have the word "Spigot" or "InstallMac" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    Your web browser(s) should now be working, and you should be able to reset the home page and search engine. If not, stop here and post your results.
    Make sure you don't repeat the mistake that led you to install this software. Chances are you got it from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad has a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If youever download a file that isn't obviously what you expected, delete it immediately.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the Genieo developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    Finally, be forewarned that when Genieo is mentioned on this site, the perpetrator of the scam sometimes shows up under the name "Genieo support." He will tell you to run the provided uninstaller. As he knows and intends, the uninstaller does not completely remove the malware.

  • Connect to Azure Sql DB through WCF Data Service

    I am following the tutorial:
    http://msdn.microsoft.com/en-us/library/windowsazure/ee621789.aspx;
    Connect to Windows Azure SQL Database Through WCF Data service on a
    Windows 8 machine running VS2013.  Until starting this tutorial, I have only been using VS for WPF applications. So it might not be properly configured for a web app.
    Everything works just fine until I get to the section on Creating the Client Application.  Clicking the Discover button populates the services pane with my service.  When I click on the service in the pane I get the following Add Service Reference
    Error:
    There was an error downloading 'http://localhost:62778/testDataService.svc/_vti_bin/ListData.svc/$metadata'.
    The request failed with the error message: --- , . . .
    If I ignore it and click OK it essentially tells me the same thing:
    "There was an error downloading metadata from the address.  Please verify that you have entered a valid address."
    I am thinking that there is a configuration issue on my machine.  Perhaps something needs to be installed or running, . . .
    I have tried doing the same steps with a local SqlExpress database, and get the same problem.  If I try to go directly to the website via the browser:
    http://localhost:62778/testDataService.svc
    I get a Request Error.
    Any suggestions, thoughts on this will be greatly appreciated!
    Robotuner

    Hi,
    From the error message "There was an error downloading 'http://localhost:62778/testDataService.svc/_vti_bin/ListData.svc/$metadata'.", I suspect that you created a folder named _vti_bin, and created wcf data service named ListData, in my test
    application, from my experience, you issue may be caused by "$metadata", can you give further information to me, there was a
    wcf data service quick start, hope this will help you.
    Best Regards 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • WCF Data Service Template Missing in Visual Studio 2013

    I've installed WCF Data Service 5.6.3 but I still can't see the template when I try to add a new item. I can see the template in VS 2010 but not 2013.

    Hi,
    In which kind of project did you create WCF Data Service? It doesn't support some kinds of project.
    Make sure you've installed it correctly. You could try to install it from Nuget.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Working example of WCF Data Services inside Layouts or ISAPI

    I have been struggling for hours getting WCF data services to work inside SP2013 Layouts or _VTI_BIN. I create a hello world WCF service like so...
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public sealed class SampleService : ISampleService
    public string SampleServiceCall(string SampleValue) { return "Success"; }
    and create a .svc file like so
    <%@ServiceHost language= "C#" Factory= "Microsoft.SharePoint.Client.Services.MultipleBaseAddressDataServiceHostFactory, Microsoft.SharePoint.Client.ServerRuntime, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Service= "SharePoint.WCFService.Sample.Code.SampleService" %>
    and everything works great inside Layouts and _VTI_BIN. I change the SampleService to this...
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public sealed class SampleService : DataService<WSS_ContentEntities>
    public string SampleServiceCall(string SampleValue) { return "Success"; }
    // This method is called only once to initialize service-wide policies.
    public static void InitializeService(DataServiceConfiguration config)
    // TODO: set rules to indicate which entity sets and service operations are visible, updatable, etc.
    // Examples:
    // config.SetEntitySetAccessRule("MyEntityset", EntitySetRights.AllRead);
    // config.SetServiceOperationAccessRule("MyServiceOperation", ServiceOperationRights.All);
    config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V2;
    and I get the error 
    The type 'SharePoint.WCFService.Sample.Code.SampleService', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations
    could not be found.
    Its like inheriting from DataService causes a .net dll loading problem, it cant seem to find my dll anymore...

    Hi,
    Seems that you want to create a WCF Data Service, then I would suggest you follow the link below about how to create WCF Data Services, you can reference the SharePoint Object
    Model dlls if your need in your project:
    http://www.codeproject.com/Articles/572417/AplusBeginner-splusTutorialplusforplusCreatingpl
    If there are still any questions about WCF Data Services, I would suggest you open another thread in Visual C# forum for more confirmed answers:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=csharpgeneral
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • The cellular data services have disappeared from my settings. Can anyone help me restore it please?

    The cellular data services have disappeared from my settings. Can anyone help me restore it please?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
     Cheers, Tom

  • Premiere elements 10 downloads but will not open? info says to remove disc from desktop -- when i do that it closes the program?

    premiere elements 10 downloads but will not open? info says to remove disc from desktop -- when i do that it closes the program?

    Hi, Ken -
    Since you have a new install of OSX, you may be missing Stuffit Expander, needed to expand downloads encrypted/archived in a Stuffit format. That problem confronted me with a new machine running OSX 10.6; a download and install of Stuffit Expander fixed it.
    You can download Stuffit Expander from this webpage -
    http://www.stuffit.com/mac-expander-download.html
    Note - be sure to get the version that matches your OSX version.

  • Hi no none of my other data services are working normally and when I try to send my picture messages it says not delivered and tells me it's unable to send.

    Hi no none of my other data services are working normally and when I try to send my picture messages it says not delivered and tells me it's unable to send.

    Hello Joe,
    I found a few resources you can use to troubleshoot the iMessage issues you are experiencing. 
    I recommend reviewing this article first:
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    If your Apple ID is activated in the Messages Settings and you still cannot send and receive iMessages, I recommend following the steps in the section titled "If you still can't send or receive iMessages" in the following article:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Java Web Service very slow from Flex when not local

    I have a jaxws web service that I am using as the interface layer to a database that I call from a Flex application. All was working well when I was referencing the service from localhost, but as soon as I deployed a version to test against (running on AWS EBS) the service calls dropped to several minutes.
    To remove all external factors I could think of, I created a test service, which simply returns a list of 5 strings, therefore there is no DB connection issue and there are no complex objects to be interpreted. I still get exactly the same behaviour, the call is fast when running locally, but an absolute dog deployed.
    If I use a web browser to retrieve the wsdl / xsd locally or remotely, they return immediately. If I use soapUI to execute the call both local and remote instances return in less than 500ms.
    Using the Network Monitor, the wsdl takes a few hundred milliseconds to be retrieved, the xsd reference however, takes one minute and sometime fails altogether, ditto with the final call for data retrieval. There is no activity on the server at this time.
    The Request/Response times in Network monitor indicate that when the calls are made they are taking no more than 1 second to return, but there is exactly one minute between the wsdl retrieval and xsd call, similarly there is exatly one minute between xsd retrieval and data retrieval.
    Any ideas?

    Hi, I'm not sure I can post my application due to company privacy issues... I'll look into that.
    Note that if I execute the function from the test view of the data service (a logical data service) it responds in a reasonable amount of time - it's only when I call the same method through a web service that was generated from the data service taht I have a problem.. it consistently takes around 30 seconds +- 3 seconds. 
    Your last question... uhh yes... the web service/data service returns a summary of a person which does include address and contact info.
    Let me see about attaching the application - I'm thinking the answer will be no, however... is it possible for you to help without having the code? Hopefully the above information helped.

  • How do i prevent removed apps from syncing when connecting to iTunes

    I've "removed" apps from my iPad to free up space but when I connect to my computer, the apps "appear" to still sync. 
    To the upper right of the screen, it will show there are 65 apps (I removed 20 apps).  These are active apps and that is correct  When I click on the status bar at the bottom of the screen (the Apps section), it shows there are 85 apps taking up space on my iPad.
    Also, where the apps are listed, the apps that were "removed" from my iPad air have an option to "Install".   I don't understand why they're still syncing.  TIA for your help!

    This does not help but it does offer some insight. I have NEVER noticed this before. Take a look at the dialog box in the is screenshot. Note that it says that even if the app is deleted from the iTunes library, it will not be removed for any iOS devices when you sync.
    As an experiment, I deleted the AOL On app from my iTunes library and followed the prompts to put the app in the trash - not keep it in the mobile sync folder. I synced my iPad - and the app is still on the device even though it does NOT appear in my list of apps in iTunes when the iPad is connected and selected. I have never seen that happen before.
    If the app is not in your library, I always assumed that it would be erased when you sync since it is no longer in iTunes. I deleted the app in iTunes and then deleted it on the iPad and then synced again and now it is gone everywhere.
    Bizarre....

  • Remove iPhone from case when charging?

    Ok, this may be a dumb question, but I would rather post a dumb question than really mess up. Once I read somewhere to take my iPod out of its case when I charge it, I guess it keeps it from getting too hot or something. My question is, should I take the iPhone out of its case (Marware leather flip vue) when I charge it, either at home or in the car?
    Many thanks in advance.
    Jan3

    The iPhone does not get particularly warm when charging, so it shouldn't normally be necessary to remove it from the case. If you're in an already-warm environment (e.g. a hot car) it's probably not a bad idea, though. High heat is bad for fully-charged batteries.
    Hope this helps...

  • Remove Item From Calendar When List Item is Set To Cancelled

    I have created a custom workflow where users submit a request form to a mailing list. The approvers can choose to approve, deny or cancel the request. If the request is approved, it is added to the calendar on the site. The problem that I am having is that
    sometimes a user wishes to cancel their request after the request has already been approved and placed on the calendar. How can I remove the calendar entry but still keep the request on file?
    Thank you in advance!

    Inderjeet,
       Thank you for your response. While this seems close, I do not think that this is what I'm really looking for. 
       Here is the process that I would like to be able to have happen:
    1. A request form is completed and sent to a SharePoint list
    2. Reviewer approves of the completed form
        a. Upon approval, a calendar entry is created automatically.
    3.  The request is deemed to be no longer needed and therefore needs to be removed from the calendar.
          a. Reviewer changes the status of the Request Form to "Cancelled"
          b. Calendar entry is removed automatically from the calendar ---- BUT, the request form is NOT deleted.

Maybe you are looking for