Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. IE Web Control Deployment Problem

IE Web Control Deployment Problem

Scheduled Pinned Locked Moved ASP.NET
sysadminhelpdata-structures
16 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U UnmeshDesale

    Yes I have uploaded the all the runtime component. TabStrip control is working properly but TreeView control only gets displayed. It is not expanding the nodes. I am binding it to XML file by setting TreeNodeSrc property. It is working properly on server when application is run locally.:-O unmon

    M Offline
    M Offline
    minhpc_bk
    wrote on last edited by
    #4

    Does it work when you access the web page from another remote machine? Btw, which browser are you using for testing? Can you check to see if the onexpand event gets fired?

    U 1 Reply Last reply
    0
    • M minhpc_bk

      Does it work when you access the web page from another remote machine? Btw, which browser are you using for testing? Can you check to see if the onexpand event gets fired?

      U Offline
      U Offline
      UnmeshDesale
      wrote on last edited by
      #5

      Yes that event is working when I run that application on deployement server locally by acessing terminal service of that m/c. But when I accessed that application on internet, the tree node didn't get expands. Can please help me ? I think there may be some security or permission issues related to config file. Thanks For Reply.:) Unmon

      M U 3 Replies Last reply
      0
      • U UnmeshDesale

        Yes that event is working when I run that application on deployement server locally by acessing terminal service of that m/c. But when I accessed that application on internet, the tree node didn't get expands. Can please help me ? I think there may be some security or permission issues related to config file. Thanks For Reply.:) Unmon

        M Offline
        M Offline
        minhpc_bk
        wrote on last edited by
        #6

        UnmeshDesale wrote: Can please help me ? Sure. But I'd like to know if you have this problem when you use a third machine to access the application over the internet. And does the problem happen with both IE and FireFox? Also, can you view source the web page to check if all the data in the xml data source file are sent to the client side.

        1 Reply Last reply
        0
        • U UnmeshDesale

          Yes that event is working when I run that application on deployement server locally by acessing terminal service of that m/c. But when I accessed that application on internet, the tree node didn't get expands. Can please help me ? I think there may be some security or permission issues related to config file. Thanks For Reply.:) Unmon

          U Offline
          U Offline
          UnmeshDesale
          wrote on last edited by
          #7

          Yes this problem occurs when I am accessing our web application on internet. This problem occurs both on IE & FireFox. XML file is gets generated on server when I run my application on internet.I have checked that using terminal service.On internet treeview control gets displayed with graphics but not working & tabstrip control is working properly.:( unmon

          1 Reply Last reply
          0
          • U UnmeshDesale

            Yes that event is working when I run that application on deployement server locally by acessing terminal service of that m/c. But when I accessed that application on internet, the tree node didn't get expands. Can please help me ? I think there may be some security or permission issues related to config file. Thanks For Reply.:) Unmon

            M Offline
            M Offline
            minhpc_bk
            wrote on last edited by
            #8

            Hi there, I haven't had any reasonable ideas yet, IMO you might want to compare the html source code of the web page at runtime when you access the web page over the internet and when you use the terminal service. By this I mean you can view source of the web page in the two cases and see if there is any thing different. The another attempt is to run a very simple web page with only a one treeview control in there and see if it works.

            U 1 Reply Last reply
            0
            • M minhpc_bk

              Hi there, I haven't had any reasonable ideas yet, IMO you might want to compare the html source code of the web page at runtime when you access the web page over the internet and when you use the terminal service. By this I mean you can view source of the web page in the two cases and see if there is any thing different. The another attempt is to run a very simple web page with only a one treeview control in there and see if it works.

              U Offline
              U Offline
              UnmeshDesale
              wrote on last edited by
              #9

              Yes I have compared both HTML source file on internet & created on server. XML data is posted on HTML source file created on server but that XML data is not posted on file created on my own m/c i.e. client. Otherwise both files are same, both contains reference to WebCtrlClient directory. But XML file gets created on server with proper data as reply to request from client. Why it happening ?. I think it is not IE web Control issue. I think we are close to solution plz suggest some directions about XML files rights. Waiting For Ur Reply, Regards & Thanks, Unmon. unmon -- modified at 3:16 Friday 26th August, 2005

              M 1 Reply Last reply
              0
              • U UnmeshDesale

                Yes I have compared both HTML source file on internet & created on server. XML data is posted on HTML source file created on server but that XML data is not posted on file created on my own m/c i.e. client. Otherwise both files are same, both contains reference to WebCtrlClient directory. But XML file gets created on server with proper data as reply to request from client. Why it happening ?. I think it is not IE web Control issue. I think we are close to solution plz suggest some directions about XML files rights. Waiting For Ur Reply, Regards & Thanks, Unmon. unmon -- modified at 3:16 Friday 26th August, 2005

                M Offline
                M Offline
                minhpc_bk
                wrote on last edited by
                #10

                UnmeshDesale wrote: XML data is posted on HTML source file created on server but that XML data is not posted on file created on my own m/c i.e. client. I'm not sure I understand what you mean here. + How do you specify the xml data source for the TreeView control? Do you use a static file on the server or a dynamic one which is generated on the fly? + Does the XML treenodes in the web page when you run on the internet look similar to that when you run on the terminal service? (I mean the xml treenode elements inside the treeview parent element).

                U 1 Reply Last reply
                0
                • M minhpc_bk

                  UnmeshDesale wrote: XML data is posted on HTML source file created on server but that XML data is not posted on file created on my own m/c i.e. client. I'm not sure I understand what you mean here. + How do you specify the xml data source for the TreeView control? Do you use a static file on the server or a dynamic one which is generated on the fly? + Does the XML treenodes in the web page when you run on the internet look similar to that when you run on the terminal service? (I mean the xml treenode elements inside the treeview parent element).

                  U Offline
                  U Offline
                  UnmeshDesale
                  wrote on last edited by
                  #11

                  I am using dynamic XML file, it gets generated when user select any node of the treeview.Means For each selected node I am generating it's child node in XML file. When I am accessing application on internet, XML file is generated properly on server.I don't know why it is not binding that XML file to selected tree node. Root(UpperMost) TreeNode appears same as displayed when run on server. I have deployed my application on Window2003 server.:sigh: Please help me. Thanks & Regards, Unmon

                  M 1 Reply Last reply
                  0
                  • U UnmeshDesale

                    I am using dynamic XML file, it gets generated when user select any node of the treeview.Means For each selected node I am generating it's child node in XML file. When I am accessing application on internet, XML file is generated properly on server.I don't know why it is not binding that XML file to selected tree node. Root(UpperMost) TreeNode appears same as displayed when run on server. I have deployed my application on Window2003 server.:sigh: Please help me. Thanks & Regards, Unmon

                    M Offline
                    M Offline
                    minhpc_bk
                    wrote on last edited by
                    #12

                    Looks like you are creating a custom treeview control which supports the loading-on-demand feature. Can you post a snippet of your sample code so that I can have a look at this?

                    U 1 Reply Last reply
                    0
                    • M minhpc_bk

                      Looks like you are creating a custom treeview control which supports the loading-on-demand feature. Can you post a snippet of your sample code so that I can have a look at this?

                      U Offline
                      U Offline
                      UnmeshDesale
                      wrote on last edited by
                      #13

                      Private Function CreateParentTask(ByVal Node As TreeNode, ByVal CatCode As String) As Integer Try _TskXML = New Transactions.BusinessLogic.ActualTaskProgress.TaskPlanTree _TskXML.ProjectCode = _ProjCode _TskXML.CreateXMLForParentTask() Node.TreeNodeSrc = "../XML/PlanParentTask.xml" Node.Databind() Catch ex As Exception Transactions.BusinessLogic.ErrorLog.HandleError("", ex.Message, "FormLeftFrame/CreateParentTask()", Transactions.BusinessLogic.ErrorLog.ErrorType.Critical) End Try End Function In this function _TskXML is object of TASKXML class which generates the XML file for parentTask & childTask.The Code for CreateXMLForParentTask() is: Public Function CreateXMLForParentTask() As Integer Dim prtTask As New DataSet Try prtTask = GetParentTask() Dim ExCol As New DataColumn prtTask.DataSetName = "TREENODES" prtTask.Tables(0).TableName = "TREENODE" prtTask.Tables(0).Columns("TASKDESC").ColumnName = "TEXT" prtTask.Tables(0).Columns("TASKCODE").ColumnName = "ID" prtTask.Tables(0).Columns("TEXT").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns("ID").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns("EXPANDABLE").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns.Remove("ISPARENT") prtTask.Tables(0).Columns.Remove("PARENTTASKCODE") Dim path As String = HttpContext.Current.Server.MapPath("../XML/PlanParentTask.xml") prtTask.WriteXml(path) prtTask.Dispose() Return 0 Catch ex As Exception Transactions.BusinessLogic.ErrorLog.HandleError("", ex.Message, "TaskXML.vb/CreateXMLForParentTask()", ErrorLog.ErrorType.Critical) End Try End Function In this code GetParentTask() returns the dataset which contains the Task that doesn't having any Parent task. This code is working fine on server locally but over internet, this code generates XML file but doesnot bind that XML to TreeNode. :sigh: Thanks & Regards, Unmon

                      U M 2 Replies Last reply
                      0
                      • U UnmeshDesale

                        Private Function CreateParentTask(ByVal Node As TreeNode, ByVal CatCode As String) As Integer Try _TskXML = New Transactions.BusinessLogic.ActualTaskProgress.TaskPlanTree _TskXML.ProjectCode = _ProjCode _TskXML.CreateXMLForParentTask() Node.TreeNodeSrc = "../XML/PlanParentTask.xml" Node.Databind() Catch ex As Exception Transactions.BusinessLogic.ErrorLog.HandleError("", ex.Message, "FormLeftFrame/CreateParentTask()", Transactions.BusinessLogic.ErrorLog.ErrorType.Critical) End Try End Function In this function _TskXML is object of TASKXML class which generates the XML file for parentTask & childTask.The Code for CreateXMLForParentTask() is: Public Function CreateXMLForParentTask() As Integer Dim prtTask As New DataSet Try prtTask = GetParentTask() Dim ExCol As New DataColumn prtTask.DataSetName = "TREENODES" prtTask.Tables(0).TableName = "TREENODE" prtTask.Tables(0).Columns("TASKDESC").ColumnName = "TEXT" prtTask.Tables(0).Columns("TASKCODE").ColumnName = "ID" prtTask.Tables(0).Columns("TEXT").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns("ID").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns("EXPANDABLE").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns.Remove("ISPARENT") prtTask.Tables(0).Columns.Remove("PARENTTASKCODE") Dim path As String = HttpContext.Current.Server.MapPath("../XML/PlanParentTask.xml") prtTask.WriteXml(path) prtTask.Dispose() Return 0 Catch ex As Exception Transactions.BusinessLogic.ErrorLog.HandleError("", ex.Message, "TaskXML.vb/CreateXMLForParentTask()", ErrorLog.ErrorType.Critical) End Try End Function In this code GetParentTask() returns the dataset which contains the Task that doesn't having any Parent task. This code is working fine on server locally but over internet, this code generates XML file but doesnot bind that XML to TreeNode. :sigh: Thanks & Regards, Unmon

                        U Offline
                        U Offline
                        UnmeshDesale
                        wrote on last edited by
                        #14

                        Where r u Dear ? I am waiting for ur reply, please help me. Thanks & Regards, Unmesh

                        1 Reply Last reply
                        0
                        • U UnmeshDesale

                          Private Function CreateParentTask(ByVal Node As TreeNode, ByVal CatCode As String) As Integer Try _TskXML = New Transactions.BusinessLogic.ActualTaskProgress.TaskPlanTree _TskXML.ProjectCode = _ProjCode _TskXML.CreateXMLForParentTask() Node.TreeNodeSrc = "../XML/PlanParentTask.xml" Node.Databind() Catch ex As Exception Transactions.BusinessLogic.ErrorLog.HandleError("", ex.Message, "FormLeftFrame/CreateParentTask()", Transactions.BusinessLogic.ErrorLog.ErrorType.Critical) End Try End Function In this function _TskXML is object of TASKXML class which generates the XML file for parentTask & childTask.The Code for CreateXMLForParentTask() is: Public Function CreateXMLForParentTask() As Integer Dim prtTask As New DataSet Try prtTask = GetParentTask() Dim ExCol As New DataColumn prtTask.DataSetName = "TREENODES" prtTask.Tables(0).TableName = "TREENODE" prtTask.Tables(0).Columns("TASKDESC").ColumnName = "TEXT" prtTask.Tables(0).Columns("TASKCODE").ColumnName = "ID" prtTask.Tables(0).Columns("TEXT").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns("ID").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns("EXPANDABLE").ColumnMapping = MappingType.Attribute prtTask.Tables(0).Columns.Remove("ISPARENT") prtTask.Tables(0).Columns.Remove("PARENTTASKCODE") Dim path As String = HttpContext.Current.Server.MapPath("../XML/PlanParentTask.xml") prtTask.WriteXml(path) prtTask.Dispose() Return 0 Catch ex As Exception Transactions.BusinessLogic.ErrorLog.HandleError("", ex.Message, "TaskXML.vb/CreateXMLForParentTask()", ErrorLog.ErrorType.Critical) End Try End Function In this code GetParentTask() returns the dataset which contains the Task that doesn't having any Parent task. This code is working fine on server locally but over internet, this code generates XML file but doesnot bind that XML to TreeNode. :sigh: Thanks & Regards, Unmon

                          M Offline
                          M Offline
                          minhpc_bk
                          wrote on last edited by
                          #15

                          + When do you call the CreateParentTask method? + Do you see any plus sign next to the treenode which you just bind the xml data to in the CreateParentTask method? + Have you tried to set the Expanded property of the selected node to true?

                          U 1 Reply Last reply
                          0
                          • M minhpc_bk

                            + When do you call the CreateParentTask method? + Do you see any plus sign next to the treenode which you just bind the xml data to in the CreateParentTask method? + Have you tried to set the Expanded property of the selected node to true?

                            U Offline
                            U Offline
                            UnmeshDesale
                            wrote on last edited by
                            #16

                            Yes it showing plus sign in front of TreeNode & I have set Expandable to Always in XML file. This code runs successfully locally on deployment server. I think code doesn't have any problem. I think it might having rights or security level problem. I have deployed application on Windows Server2003.I have given appropiate rights to ASPNet user & IIWP :sigh: Unmon.

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups