Hi, I am trying to call a .Net class from flex by using third party tool webORB , i installed weborb,i created a project having reference to this webORB virtual directory created automatically , i gone through all the security issues and devlopement and deployment process, but when i run my application it is works fine. But when i Exports Release Build, i get error: faultCode:Client.Error.MessageSend faultString:'Send failed' faultDetail:'Channel.Security.Error error Error #2048: Security sandbox violation: http://localhost/test12/testweborb.swf cannot load data from https://localhost/test12/weborb.aspx. url: 'https:// localhost/test12/weborb.aspx'' giving error like this. I copied crossdomain.xml to root url , but still i am getting this error . this is my crossdomain.xml file : i use RemoteObject API and weborb.dll to get/put data from client-server and i have included some file *.swc (Flex Library Project) Please see: http://www.gis.net.vn Please can anybody help me. Thanks,
mangrovecm
Posts
-
Error #2048: Security sandbox violation -
Error #2048: Security sandbox violation in [modified]Hi, I am trying to call a .Net class from flex by using third party tool webORB , i installed weborb,i created a project having reference to this webORB virtual directory created automatically , i gone through all the security issues and devlopement and deployment process , but when i run my application it works fine. But when i export release build, then run my app, it throws error message: faultCode:Client.Error.MessageSend faultString:'Send failed' faultDetail:'Channel.Security.Error error Error #2048: Security sandbox violation: http://localhost/test12/testweborb.swf cannot load data from https://localhost/test12/weborb.aspx. url: ' https://localhost/test12/weborb.aspx'' giving error like this. I copied crossdomain.xml to root url , but still i am getting this error . I use weborb.dll library to get/post data from client-server anybody help me!. Thank a lot
mangrovecm (-,-)am from VietNamese.
modified on Tuesday, November 4, 2008 6:02 AM
-
How can i get max Point and Min Date using SQL [modified]Dear WoutL, The result did not expected. Because 'A.Jerry' UserName appear in 3 rows. The result must be not repeat the same UserName. That mean the result will be: row 1: 11 | Nancy |78 | 5/25/2008 7:19:59 PM row 2 12 | A.Jerry |78 | 5/26/2008 7:19:59 PM row 3: | C.John |20 | 5/19/2008 7:45:59 PM Could you help me! Thanks a lot
mangrovecm (-,-)am from VietNamese.
-
How can i get max Point and Min Date using SQL [modified]Dear all, I have a 'Games' table in testxyz db following: create database testxyz go use testxyz go if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Games]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[Games] GO CREATE TABLE [dbo].[Games] ( [UserID] [int] IDENTITY (1, 1) NOT NULL , [UserName] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , [Point] [int] NULL , [Dates] [datetime] NULL ) ON [PRIMARY] GO ALTER TABLE [dbo].[Games] ADD CONSTRAINT [DF_Users_Dates] DEFAULT (getdate()) FOR [Dates], CONSTRAINT [PK_Users] PRIMARY KEY CLUSTERED ( [UserID] ) ON [PRIMARY] GO --Insert data: DELETE FROM [Games] GO SET IDENTITY_INSERT[Games] ON GO INSERT INTO [dbo].[Games](UserID,UserName,Point,Dates) VALUES(1,'C.John',10,'5/19/2008 7:20:59 PM') GO INSERT INTO [dbo].[Games](UserID,UserName,Point,Dates) VALUES(2,'C.John',12,'5/18/2008 7:10:59 PM') GO INSERT INTO [dbo].[Games](UserID,UserName,Point,Dates) VALUES(3,'C.John',6,'5/17/2008 7:22:59 PM') GO INSERT INTO [dbo].[Games](UserID,UserName,Point,Dates) VALUES(4,'C.John',20,'5/19/2008 7:45:59 PM') GO INSERT INTO [dbo].[Games](UserID,UserName,Point,Dates) VALUES(5,'A.Jerry',4,'5/19/2008 7:28:59 PM') GO INSERT INTO [dbo].[Games](UserID,UserName,Point,Dates) VALUES(6,'A.Jerry',8,'5/19/2008 7:19:59 PM') GO INSERT INTO [dbo].[Games](UserID,UserName,Point,Dates) VALUES(7,'A.Jerry',10,'4/1/2008 7:19:59 PM') GO INSERT INTO [dbo].[Games](UserID,UserName,Point,Dates) VALUES(8,'A.Jerry',67,'4/1/2008 7:19:59 PM') GO INSERT INTO [dbo].[Games](UserID,UserName,Point,Dates) VALUES(9,'Nancy',50,'5/11/2008 7:19:59 PM') GO INSERT INTO [dbo].[Games](UserID,UserName,Point,Dates) VALUES(10,'Nancy',10,'5/21/2008 7:19:59 PM') GO INSERT INTO [dbo].[Games](UserID,UserName,Point,Dates) VALUES(11,'Nancy',78,'5/25/2008 7:19:59 PM') GO INSERT INTO [dbo].[Games](UserID,UserName,Point,Dates) VALUES(12,'A.Jerry',78,'5/26/2008 7:19:59 PM') SET IDENTITY_INSERT[Games] OFF GO Now, I want to get rows which have maximum 'Point' and minimum 'Dates'. If Point of user is the same. it gets a row with minimum 'Dates' condition. Note that result will sort by Point 'DESC'. UserName do not repeat in the result. In data above. Expected result is: UserID | UserName | Point | Dates 11 | Nancy |78 | 5/25/2008 7:19:59 PM 12 | A.Jerry |78 | 5/26/2008 7:19:59 PM 4 | C.John |20 | 5/19/2008 7:45:59 PM Please help me! Thanks a lot <
-
AJAX help required!!!!download ajax toolkit: http://www.asp.net/AJAX/Control-Toolkit/ toolkit demo live: http://www.asp.net/AJAX/Control-Toolkit/live/ kiet vu (-,-)am from VietNamese.
-
Hash Password in Windows ApplicationHi, This link is the best solution with you. http://www.codeproject.com/useritems/Crypto.asp Hope that help you kiet vu (-,-)am from VietNamese. Thank you for your voting
-
How to change a template and Skin to ASP.NET pageAny help please?
vtkiet05
-
Regular Expression ValidatorHi Nice, I have a regular exppression to check price of product: "[0-9]{1,3}(\,[0-9]{3})*(\.[0-9]+)?$|^[0-9]+(\.[0-9]+)?$" This is expression accept number such as: 1.450,45. 5.120 45,26 ... Hope that help you. vtkiet05
-
how to create sub site folder automatically?thank saifigr8, you mean after user registered, i must copy some template to folder has just created by user, because if i do not copy template to that folder, when user clicked url such as: www.winery.com/user1 the website will show. Is that right? vtkiet05
-
how to create sub site folder automatically?I have a problem, i hope that you help me to find the solutions: I have a shopping cart to buy wines(assume url is www.winery.com). I allow user to register to create him store on my site to buy and introduce wines. when user registered successfully, he will open him site using url: www.winery.com/. root url: www.winery.com user1: www.winery.com/user1 user2: www.winery.com/user2 .... How can you help me? Thank you and best regards vtkiet05 -- modified at 0:27 Thursday 23rd August, 2007
-
Array ListI think you should use an object then add it to your arraylist. such as You can create an object: myObject obj =new myObject(); obj.Title="Manoj"; obj.Age=4; obj.Weight=4.5; //Add to arraylist ArrayList arr = new ArrayList(); arr.Add(obj); //Get from arraylist for(int i = 0; i < arr.Count; i++) { myObject obj = arr[i] as myObject; Console.Write(obj.Title); .... } Hope that help you vtkiet05
-
how do i Filter extensions in FileUpload Controlyou should use this code: private bool IsAccept(string fileName) { bool ok = false; string ext = System.IO.Path.GetExtension(fileName); if (ext == ".jpe" || ext == ".jpeg" || ext == ".pjpeg" || ext == ".gif" || ext == ".jpg" || ext == ".bmp" || ext == ".png" || ext == ".x-png") { ok = true; } return ok; } Hope that help you! vtkiet05
-
How to change a template and Skin to ASP.NET pageDear All, I have a mini website, i have a page to allow user customize himself the same you customize your Yahoo!Blog. Please help me to find the solution to solve this issue. Thank in advance vtkiet05
-
How to change a template and Skin to ASP.NET pageDear Experts, I have a shopping card. I want to support to my customer to change a template, change font and color. Could you tell me some solutions to solve that problem. If you have any references or source codes, please show me! Thank you in advance vtkiet05
-
How do find all content between table tags using regular?I have content:
New York
28°C
Washington, D.C.
23°C
Florida
23°C
Los Angeles
24°C
Houston
27°C
Can you define a regular to get the above City wheather? Thank in advance vtkiet05
-
How to define a regular expression?Hi Christian, I fixed: Change the string exp = "[^\"]*)\"|(?<1>\\S+))" to string exp = "[^\"]*)\"|(?<1>\\S+)))"; and the result is "index.php?act=area_link&act2=article_detail&category_id=1&pro_id=3&category_sub_id=57&article_id=16823" Source code: string exp = "[^\"]*)\"|(?<1>\\S+)))"; // Create an instance of StreamReader to read from a file. // The using statement also closes the StreamReader. string line = ""; using (StreamReader sr = new StreamReader("temp.txt")) { line = sr.ReadToEnd(); sr.Close(); } Regex regx = new Regex(exp, RegexOptions.IgnoreCase | RegexOptions.Compiled); Match m = regx.Match(line); while (m.Success) { string t = m.Groups[1].Value; m = m.NextMatch(); } (-,-) vtkiet05
-
How to define a regular expression? -
How to define a regular expression?Dear Experts, I have a file contains the content: I want to get : href="index.php?act=area_link&act2=article_detail&category_id=1&pro_id=3&category_sub_id=57&article_id=16823" How can i help me? Thank in advance vtkiet05
-
I am confusing about professionalI have more experiences. I would to get your ideas. Do you allow admin of site delete or inactive product? I assume that you allow admin delte product. what does it happen if product has already in Order? Thank in advance vtkiet05
-
I am confusing about professionalI have more experiences. I would like to get your ideas. Do you allow admin of site delete or inactive product? I assume that you allow admin delte product. what does it happen if product has already in Order? Thank in advance vtkiet05