The debug setting app color error

My app has some image with alpha shadow.
In the debug setting the shadow color is different form the origin color,
but in the release setting the shadow color is the origin color.
I think may be there is some variable not initialize.
So, in the release setting the color is right because the debugger not fill the data to the memory,
and in the debug setting the color is wrong because the debugger fill some data like 0xcdcdcdcd to the memory.
but, I don't know which variable I forget to initialize.
Can some one help me guess which variable I forget to initialize.
【the origin image】
left【the release setting】 right【the debug setting】
【the code】
the main function is 'void
CEngineDeviceImpl::Render(IGuiFrame* pGuiFrame)'
class CEngineDeviceImpl : public IEngineDevice
bool m_canvasCreated;
D3D11_VIEWPORT m_canvasViewport;
Microsoft::WRL::ComPtr<ID3D11Texture2D> m_canvasTex;
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> m_canvasSRV;
Microsoft::WRL::ComPtr<ID3D11RenderTargetView> m_canvasRT;
void CEngineDeviceImpl::CreateCanvas(float canvasWidth, float canvasHeight)
// Set the 3D rendering viewport to target the entire window.
m_canvasViewport = CD3D11_VIEWPORT(
0.0f,
0.0f,
canvasWidth,
canvasHeight
CD3D11_TEXTURE2D_DESC sceneDesc(DXGI_FORMAT_B8G8R8A8_UNORM, int(canvasWidth), int(canvasHeight),
1, 1, D3D11_BIND_RENDER_TARGET | D3D11_BIND_SHADER_RESOURCE);
DX::ThrowIfFailed(m_d3dDevice->CreateTexture2D(&sceneDesc, nullptr,
m_canvasTex.GetAddressOf()));
DX::ThrowIfFailed(m_d3dDevice->CreateRenderTargetView(m_canvasTex.Get(), nullptr,
m_canvasRT.ReleaseAndGetAddressOf()));
DX::ThrowIfFailed(m_d3dDevice->CreateShaderResourceView(m_canvasTex.Get(), nullptr,
m_canvasSRV.ReleaseAndGetAddressOf()));
m_canvasCreated = true;
void CEngineDeviceImpl::Render(IGuiFrame* pGuiFrame)
ASSERT(pGuiFrame);
SetRenderTargetToCanvas();
SpritesBegin();
pGuiFrame->Render();
SpritesEnd();
SetRenderTargetToBackbuffer();
SpritesBegin();
DrawCanvasImageToBackbuffer();
SpritesEnd();
ID3D11ShaderResourceView* null[] = { nullptr, nullptr };
m_d3dContext->PSSetShaderResources(0, 2, null);
void CEngineDeviceImpl::SetRenderTargetToCanvas()
m_d3dContext->RSSetViewports(1, &m_canvasViewport);
m_d3dContext->OMSetRenderTargets(1, m_canvasRT.GetAddressOf(), nullptr);
m_d3dContext->ClearRenderTargetView(m_canvasRT.Get(), Colors::Orange);
void CEngineDeviceImpl::SetRenderTargetToBackbuffer()
// Reset the viewport to target the whole screen.
auto viewport = m_deviceResources->GetScreenViewport();
m_d3dContext->RSSetViewports(1, &viewport);
// Reset render targets to the screen.
ID3D11RenderTargetView *const targets[1] = { m_deviceResources->GetBackBufferRenderTargetView() };
m_d3dContext->OMSetRenderTargets(1, targets, nullptr);
void CEngineDeviceImpl::SpritesBegin()
// Get the 2D orientation transform.
D2D1::Matrix3x2F _2DTransform = m_deviceResources->GetOrientationTransform2D();
// Convert the Matrix3X2F tranform to XMMATRIX.
DirectX::XMMATRIX transformMaxtrix =
_2DTransform._11, _2DTransform._12, 0, 0,
_2DTransform._21, _2DTransform._22, 0, 0,
0, 0, 1, 0,
_2DTransform._31, _2DTransform._32, 0, 1
// To make sure the sprite is drawn in the correct position when the device orientation changes,
// we pass the 2D orientation transform to the Begin function.
m_sprites->Begin(SpriteSortMode_Deferred, m_states->NonPremultiplied(),
nullptr, nullptr, nullptr, nullptr, transformMaxtrix);
void CEngineDeviceImpl::SpritesEnd()
m_sprites->End();

Thank you!
I know the reason.
the wrong:
m_sprites->Begin(SpriteSortMode_Deferred, m_states->NonPremultiplied(),
nullptr, nullptr, nullptr, nullptr, transformMaxtrix);
the right:
m_sprites->Begin(SpriteSortMode_Deferred, m_states->Opaque(),
nullptr, nullptr, nullptr, nullptr, transformMaxtrix);
the follow code is the key:
#ifdef _DEBUG
auto color = DirectX::Colors::CornflowerBlue;
#else
auto color = DirectX::Colors::Black;
#endif
// Clear the back buffer and depth stencil view.
context->ClearRenderTargetView(m_deviceResources->GetBackBufferRenderTargetView(), color);
context->ClearDepthStencilView(m_deviceResources->GetDepthStencilView(), D3D11_CLEAR_DEPTH | D3D11_CLEAR_STENCIL, 1.0f, 0);
Because the debug and the release use different color to fill the RT,
and the SpriteBatch Begin with NonPremultiplied,
so the color mixed different in debug and release.

Similar Messages

  • I can't open the templates on my Stationery Set app

    I bought the Stationery Set app and can't open any of the templates.
    When I click the open template button this comes up:
    Last login: Sat Jan  7 10:55:55 on ttys000
    Allys-MacBook-Air:Ladybug.template allydrotar$
    How do I open the template so I can use it?

    weird is right, but what do we do ???
    i have a similar problem.
    when i press the lock to unlock it, it asks me for the password and than showes it as unlocked.
    but even after that, it wont let me change any prefrences or setting.
    meaning if i want to tweak with something, it just wont let me check or uncheck the setting.
    who do i go to for a solution?

  • Report Generation broken after deployment - Excel Set Cell Color and Border.vi

    Upon deployment, the Excel Set Cell Color and Border.vi became broken.  After installing LV2010 SP1 to view the VIs in the deployment, I noticed that in the second case structure where the code draws the border using the BorderAround invoke node, there is an extra variant input parameter named 'Parameters'.  Upon right-clicking, an option to 'Relink Invoke Node' appeared and after selecting this, the extra input disappeared and the VI was no longer broken.
    Why does "Relink Invoke Node" appear?  How do I create a deployment with this issue?  Has anybody else experienced this?  Why is the TestStand deployment so buggy?  

    Hi Ching-Hwa,
    I have set up a test deployment here where I am deploying a workspace that contains a sequence file.  This sequence file has a LabVIEW Action Step calling a VI that opens a new Excel file and simply calls the Excel Set Cell Color and Border VI.  After deploying this, both the VI and my test sequence ran on the deployment machine without error.  Therefore, I do have some more questions to more accurately reproduce what you are seeing.
    First, what operating systems are you developing on and deploying to?  Also, what license do you have for TestStand on the machine you are deploying to?  If you have a development version, can you manually take the sequence file and VI to this machine and run it?  I know you now have LabVIEW 2010 SP1 on your development machine, but if you have the development version of TestStand as well, it would be interesting to see if you copy the files over if you still see this behavior.  Are you including the TestStand Engine in the deployment?
    Can you open a blank VI on the deployment machine and add the Excel Set Cell Color and Border VI?  It would also be interesting to see if this is not a product of the deployment, but rather an issue with something on the deployment machine itself.  What version of the Report Generation Toolkit do you have on each machine?  Also, what versions of Excel are you using on the development and deployment machine?  Again, it would be helpful for me to know exactly what versions you have installed on both the development and deployment machines so that I can reproduce this as accurately as possible.
    One last thing to try, too, would be to try deploying the VI by itself just to see if it also has the same behavior.  Do you have the Application Builder in LabVIEW?  If so, could you also try building an executable from the VI, create an installer, and deploy this to the deployment machine?  
    In regards to the "freezing" of code by removing the block diagrams, I do not believe this will be a proper work around in this case.  While this removes the block diagram from actually being deployed along with the VI and restricts users from editing the code on the deployment machine, if something is getting changed in the compiled code upon deployment, this will not stop this from happening.  This option is available more as a memory option to lower the size of the deployment as well as prohibit any users on the development machine from editing the block diagram themselves.    
    Thanks, Ching-Hwa!  I look forward to your response so that I can continue trying to reproduce this issue.  Have a great day! 
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

  • Android email app formatting errors

    Some emails viewed by the standard Android email app don't format corrrectly.  However the formatting is correct if I use the Gmail app instead.
    Below are two screenshots of the same email. The first using the standard email app has errors - some HTML has not been rendered correctly. The second using the Gmail app is fine.
    Am using the latest KitKat.
    Any suggestions about how to fix this?
    Standard app
    Gmail app

    Unfortunately that failed to work.   Its only a very small number of emails that are affected - from certain senders.  So the ones from Banana Republic (for example), always seem to go wrong on this email app. They work OK on the Gmail app, on Windows Live Mail on my computer, and on our IPad.
    I now realise this app is a Sony specific app and not a general Android app.   I believe there is a minor bug that fails you correctly handle certain HTML sequences. I suspect it has probaly not been kept up-to-date with all the HTML protocols.
    Could you report it to the Sony developers.
    Many thanks.

  • Provider-hosted Apps debug error: The remote server returned an error: (401) unauthorised

    Hi,
    Any help appreciated!!
    I'm getting this error: "The remote server returned an error: (401) unauthorised when I debug a provider-hosted app.  I get the error on this line:  
    HttpWebResponse response = (HttpWebResponse)request.GetResponse();
    See code below
    I created a high trust development environment following the instructions provided here:
    http://msdn.microsoft.com/en-us/library/office/fp179901(v=office.15).aspx and
    http://msdn.microsoft.com/library/office/fp179923
    I created a provider-hosted app with the intent to:
    create a SharePoint list in the appweb
    Use self-signed certificate, tokenhepler.cs and sharepointcontext.cs to retrieve current user context and access on SharePoint.  (No changes were made to tokenhelper.cs and sharepointcontext.cs)
    retrieve list items from the SharePoint list in a button click event handler on a default.aspx of the remote web
    What happens:
    The app is deployed successfully to the Dev site
    The SharePoint feature is deployed and activated
    The default.aspx page of the remote web loads
    The error (see image) is returned on clicking of the button
    My environment is an on-premise SharePoint 2013 with AD and my dev box is standalone windows 8.1 running Visual Studio Professional 2013 Update 3.
    The code block below is a copy of the default.aspx code-behind
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using Microsoft.SharePoint.Client;
    using Microsoft.IdentityModel.S2S.Tokens;
    using System.Net;
    using System.IO;
    using System.Xml;
    using System.Data;
    using System.Xml.Linq;
    using System.Xml.XPath;
    namespace Idea.GeneratorWeb
    public partial class Default : System.Web.UI.Page
    SharePointContextToken contextToken;
    string accessToken;
    Uri sharepointUrl;
    protected void Page_PreInit(object sender, EventArgs e)
    Uri redirectUrl;
    switch (SharePointContextProvider.CheckRedirectionStatus(Context, out redirectUrl))
    case RedirectionStatus.Ok:
    return;
    case RedirectionStatus.ShouldRedirect:
    Response.Redirect(redirectUrl.AbsoluteUri, endResponse: true);
    break;
    case RedirectionStatus.CanNotRedirect:
    Response.Write("An error occurred while processing your request.");
    Response.End();
    break;
    protected void Page_Load(object sender, EventArgs e)
    //// The following code gets the client context and Title property by using TokenHelper.
    //// To access other properties, the app may need to request permissions on the host web.
    var spContext = SharePointContextProvider.Current.GetSharePointContext(Context);
    //var spContext = new ClientContext("MySPDevInstance");
    //spContext.Credentials = new NetworkCredential("username", "password");
    //using (var clientContext = spContext.CreateUserClientContextForSPHost())
    // clientContext.Load(clientContext.Web, web => web.Title);
    // clientContext.ExecuteQuery();
    // Response.Write(clientContext.Web.Title);
    string contextTokenString = TokenHelper.GetContextTokenFromRequest(Request);
    if (contextTokenString != null)
    // Get context token
    contextToken = TokenHelper.ReadAndValidateContextToken(contextTokenString, Request.Url.Authority);
    // Get access token
    sharepointUrl = new Uri(Request.QueryString["SPAppWebUrl"]);
    accessToken = TokenHelper.GetAccessToken(contextToken, sharepointUrl.Authority).AccessToken;
    // Pass the access token to the button event handler.
    Button1.CommandArgument = accessToken;
    protected void Button1_Click(object sender, EventArgs e)
    // Retrieve the access token that the Page_Load method stored
    // in the button's command argument.
    string accessToken = ((Button)sender).CommandArgument;
    if (IsPostBack)
    sharepointUrl = new Uri(Request.QueryString["SPAppWebUrl"]);
    // REST/OData URL section
    string oDataUrl = "/_api/Web/lists/getbytitle('Diagrams In Idea Generator')/items?$select=Title,Diagram,SharingStatus";
    // HTTP Request and Response construction section
    HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(sharepointUrl.ToString() + oDataUrl);
    request.Method = "GET";
    request.Accept = "application/atom+xml";
    request.ContentType = "application/atom+xml;type=entry";
    request.Headers.Add("Authorization", "Bearer " + accessToken);
    HttpWebResponse response = (HttpWebResponse)request.GetResponse();
    // Response markup parsing section
    XDocument oDataXML = XDocument.Load(response.GetResponseStream(), LoadOptions.None);
    XNamespace atom = "http://www.w3.org/2005/Atom";
    XNamespace d = "http://schemas.microsoft.com/ado/2007/08/dataservices";
    XNamespace m = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";
    List<XElement> entries = oDataXML.Descendants(atom + "entry")
    .Elements(atom + "content")
    .Elements(m + "properties")
    .ToList();
    var entryFieldValues = from entry in entries
    select new
    Character = entry.Element(d + "Title").Value,
    Actor = entry.Element(d + "Diagram").Value,
    CastingStatus = entry.Element(d + "SharingStatus").Value
    GridView1.DataSource = entryFieldValues;
    GridView1.DataBind();
    Any ideas what I might be doing wrong

    Hi ,
    Use the below code
    Public string GetAccessToken(){
    string sharePointSiteUrlHost =  Page.Request["SPHostUrl"].Tostring();
    string AccessToken = tokenHelper.GetS2SAccessTokenWithWindowsIdentity(sharePointSiteUrlHost, Request.LogonUserIdentity);
    return accessToken;
    Than initialize the ClientCOntext with the below Method
     private static ClientContext GetClientContextWithAccessTokenString(string targetUrl, object accessToken)
                ClientContext clientContext = new ClientContext(targetUrl);
                clientContext.AuthenticationMode = ClientAuthenticationMode.Anonymous;
                clientContext.FormDigestHandlingEnabled = false;
                clientContext.ExecutingWebRequest +=
                    delegate(object oSender, WebRequestEventArgs webRequestEventArgs)
                        webRequestEventArgs.WebRequestExecutor.WebRequest.UserAgent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)";
                        webRequestEventArgs.WebRequestExecutor.RequestHeaders["Authorization"] =
                            "Bearer " + accessToken;
                return clientContext;
    use this clientCOntext and it will work.
    Do not use
    SharePointContextProvider
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • I purchased bioshock 2 on the app store on my macbook pro (running lion) and it shows 'an error has occured' every time I try to download the app. How do I install it properly, I have restarted my mac and reset the app on the debug menu?

    I purchased bioshock 2 on the app store on my macbook pro (running lion) and it shows 'an error has occured' every time I try to download the app. How do I install it properly, I have restarted my mac and reset the app on the debug menu?

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Select "/var/log/install.log" from the file list on the left. If you don't see that list, select
    View ▹ Show Log List
    from the menu bar. Then select the messages from the last installation or update attempt, starting from the time when you initiated it. If you're not sure when that was, start over and note the time. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • I just set up my new iMac, and receive error messages when trying to purchase from the iTunes store (error 8003) or update from the App store (error 403 forbidden). THOUGHTS?

    I just set up my new iMac, and receive error messages when trying to purchase from the iTunes store (error 8003) or update from the App store (error 403 forbidden). THOUGHTS?

    I am not sure what you mean by "Flash Player for steam"; the only Flash Player installers I know is the ActiveX (for Internet Explorer) and the plugin (for other browsers); you can find both at http://helpx.adobe.com/content/help/en/flash-player/kb/installation-problems-flash-player- windows.html#main-pars_header
    [topic moved to Flash Player forum]

  • Can't debug AIR app. No error, app just won't come up

    Hi, my problem is described in title: when I try to debug AIR application it, flex says "[SWF] MyAppName.swf xxxxxxxx bytes after decompression", no errors are shown but the application won't come up. Where's the problem? Thanks

    Well, when I set <visible> tag to true in -app.xml file it returns me this error:
    Process terminated unexpectedly.
    invalid application descriptor: Illegal value "<visible xmlns="http://ns.adobe.com/air/application/2.6">true</visible>
    <visible xmlns="http://ns.adobe.com/air/application/2.6">false</visible>" for application/initialWindow/visible.
    Launch command details:  "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\bin\adl.exe" -runtime "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\runtimes\air\win" C:\Users\Administrator\Dropbox\Apps\MFTagger\bin-debug\MFTagger-app.xml C:\Users\Administrator\Dropbox\Apps\MFTagger\bin-debug
    Last time I tried it, it didn't connect but before it did so I guess the problem isn't here

  • Error occurred in deployment step 'Uninstall app for SharePoint': The remote server returned an error: (502) Bad Gateway.

    Installed SP 2013 Foundation in my Hyper-V machine
    Created and done all the steps mentioned here http://blogs.msdn.com/b/shariq/archive/2013/05/07/how-to-set-up-high-trust-apps-for-sharepoint-2013-amp-troubleshooting-tips.aspx && http://msdn.microsoft.com/en-us/library/office/fp179901%28v=office.15%29.aspx
    for self signed certificate
    copied those two certificates in my local machine(base machine) D drive
    (D:\Cert)
    Both VM and base machine are in same domain
    Installed VS 2013 in my base machine and create a Provided hosted app with the copied certificates, (For creation i followed the above mentioned URL)
    Just created and hit F5 to run in my base machine, but getting this error
    Error occurred in deployment step 'Uninstall app for SharePoint': The remote server returned an error: (502) Bad Gateway.
    Please help me to resolve this issue, trying to figure out from last 2 days
    Thanks in Advance
    Arun

    Hi Harminder,
    This happens because an app has already been deployed and you are deploying it again using the same version.
    Resolution:
    Open the AppManifest.xml file and change the version.
    Vivek Jagga - MCTS SharePoint
    SharePointExcellence

  • Out of scope error while attaching the attribute set and the operating unit

    Hi,
    Am getting the out of scope error when am trying to attach the attribute set "/oracle/apps/fnd/attributesets/HrOperatingUnits/OperatingUnitName_Transient"
    and the operating unit lov "/oracle/apps/fnd/multiorg/lov/webui/OperatingUnitsLovRN" from my page in JDeveloper.
    Can anyone help?
    Thanks

    Mostly
    It would just be a warning message you can proceed with it there are no issues.But if its an error please do as mentioned by Reetesh.
    Thanks
    AJ

  • I have an issue installing photoshop CC trial, I currently have elements and wanted to see the differences before buying, when installing through the creative cloud app I get the error message  Exit Code: 7 Please see specific errors below for troubleshoo

    I have an issue installing photoshop CC trial, I currently have elements and wanted to see the differences before buying, when installing through the creative cloud app I get the error message  Exit Code: 7 Please see specific errors below for troubleshooting. For example,  ERROR: DW041 ...   -------------------------------------- Summary --------------------------------------   - 0 fatal error(s), 1 error(s)
    ERROR: DW041: INSTALLDIR Volume D:\ doesn't exist.  -------------------------------------------------------------------------------------  System Requirements  and it will not install, It says cant find the path D: im not sure why because as far as I can see its set to install on drive C: which is where I want it!

    Exit Code: 6, Exit Code: 7 Installation Errors - http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html
    Troubleshoot with install logs | CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html for information on how to review your installation logs

  • Converting the web app into AIR app leads errors

    Hi all,
    I am new to flex, i am trying to convert a web app into air app.
    I changes the tags and when i complie i get the below 3 error popups with dismis and continue buttons on the bottom right..
    Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime.
    Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime.
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    Any help would be greatly appreciated.
    Thanks in advance.

    Thanks peter.
    commenting those lines avoids the first 2 errors but still i am getting the below errors.
    this is a microstrategy flex project.
    Error #1009: Cannot access a property or method of a null object reference.
    at com.microstrategy.web.vf.viewer::MstrWindowedApplication/handleCreationComplete()[Z:\Flex \projects\VisFrameworkAIR\src\com\microstrategy\web\vf\viewer\MstrWindowedApplication.as:9 9]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src \mx\core\UIComponent.as:9298]
    at mx.core::UIComponent/set initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as :1169]
    at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:718]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
    at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]

  • The remote server returned an error :(401) unauthorized in Provider hosted app deployment

    Hi,
    We are trying to deploy the provider hosted app in server environment . we are getting the "The remote server returned an error :(401) unauthorized" error after deploy the app in server.
    stack Trace:
    [webException:Te remote server returned an error:(401) UnAuthorized.]
    System.Net.HeepWebRequest.GetResponse().
    Followed the same MSDN steps , but sill same error. We have attached the certificate and using the same issuer ID in the app web.config.
    Verified the IIS setting and still getting the same error when we call the "Clientcontext.ExecuteQuery()" method.
    Same code is working fine in my Local dev environment.
    If anyone have idea about this issue, please let me know.
    Thank you,
    Mylsamy

    Hi ,Thank you for your response. We have tried all the options and everything is same (Client ID,Issuer ID...etc) and finally figured out the issue.The below link saved my day.http://msdn.microsoft.com/en-us/library/office/dn762439(v=office.15).aspxIn "TokenHelper.cs" GetRealmFromTargetUrl method always return null andWhen we analyze the issue we found some variable name assigned for "Realm" Instead of GUID in SP server.Power shell command to get the Realm in SP server:  Get-SPAuthenticationRealmWe have followed below article to generate the new GUID for realm.http://technet.microsoft.com/en-us/library/jj219756(v=office.15).aspx$c =Get-SPServiceContext -Site "http://<websiteurl>"Set-SPAuthenticationRealm -ServiceContext $c -Realm "a686d436-9f16-42db-09b7-cb578e110ccd".
    Thankyou,Mylsamy

  • Debugging Weblogic apps across the network

    I am trying to debug a Weblogic app running on Sun from NetBeans running on Windows.
    I am invoking Weblogic on Sun as follows:
    java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=xyz -Dweblogic.Name=xyzServer
    -Dbea.home=/export/home/nbhatia/sandbox -Djava.security.policy==/export/home/smitta/sandbox/wlserver6.0sp1/lib/weblogic.policy
    -Dweblogic.management.password=$WLS_PW -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=8999,suspend=n
    weblogic.Server
    As soon as I put the -Xrun option shown above, Weblogic refuses to start. The
    error I get is:
    Transport dt_socket failed to initialize, rc = 509.
    FATAL ERROR in native method: No transports initialized
    Any ideas what I am doing wrong?
    Thanks.

    I have been able to connect with the following line:
    "%JAVA_HOME%\bin\java" -hotspot -ms64m -mx64m -Xdebug -Xnoagent -Djava.compiler=NONE
    -Xrunjdwp:transport=dt_socket,server=y,address=8787 -classpath %CLASSPATH% -Dweblogic.Domain=mydomain
    -Dweblogic.Name=myserver "-Dbea.home=D:\bea" "-Djava.security.policy==D:\bea\wlserver6.0sp1/lib/weblogic.policy"
    -Dweblogic.management.password=%WLS_PW% weblogic.Server
    I had to move the -hotspot in front of the debug statements in order for the server
    to start. Why that matters I don't know... but it started up (very slowly).
    "Naresh Bhatia" <[email protected]> wrote:
    >
    I am trying to debug a Weblogic app running on Sun from NetBeans running
    on Windows.
    I am invoking Weblogic on Sun as follows:
    java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=xyz -Dweblogic.Name=xyzServer
    -Dbea.home=/export/home/nbhatia/sandbox -Djava.security.policy==/export/home/smitta/sandbox/wlserver6.0sp1/lib/weblogic.policy
    -Dweblogic.management.password=$WLS_PW -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=8999,suspend=n
    weblogic.Server
    As soon as I put the -Xrun option shown above, Weblogic refuses to start.
    The
    error I get is:
    Transport dt_socket failed to initialize, rc = 509.
    FATAL ERROR in native method: No transports initialized
    Any ideas what I am doing wrong?
    Thanks.

  • Flash debugger crashes on latest Firefox 7. Every time I try to debug an app in FF the flash debugger crashes

    every time I try to debug my app in Firefox the plugin crashes. anybody else have this problem? Its with more than one project too

    You can set the pref dom.ipc.plugins.timeoutSecs to to -1 on the about:config page to disable the timeout.
    * http://benjamin.smedbergs.us/blog/tag/hang/
    *https://developer.mozilla.org/en/Plugins/Out_of_process_plugins/The_plugin_hang_detector

Maybe you are looking for

  • Default Pulldown value is not getting displayed on upper form of Second step of Unifier Workflow

    Hi, I'm new to Unifier and facing one issue while using the PullDown field on Upper. If I use the Pull down field with Default option selected in DataDefination on Upper form of Workflow's first step then it works fine, whereas if I use it on upper f

  • Help regarding a macbook 2gb RAM HELP!

    hey guys, i am 15 and i am really getting interested in graphic design and video editing (aka photoshop and imovie). I have used PC's all my life but i think it is finally time to jump to the real deal, a Mac. Specifically a MacBook. Now my question

  • Forms 6i and 10g db issues

    My developer is having a couple of different issues. First, we have two databases, both are 10.1.0.3. Using Forms Builder 6i he can connect to instance A, but gets an error that shuts down Forms Builder when connecting to instance B. The only differe

  • Please help! A simple compiler error

    Hi, I'm quite new to Java. I'm using Sun ONE Studio 4, community edition on Win 2000. The following error: Test.java [7:1] cannot resolve symbol symbol : method forName (java.lang.String) location: class Class Class.forName("com.mysql.jdbc.Driver");

  • Scrap calculation on MRP process

    Dear all, I have a requirement from a customer which is the following: They are using the functionality "scrap component calculation" (PP). They would like to change the scrap percentage (the one from material master data) taking the information from