|
|
Rank: Newbie Coder Groups: Member
Joined: 11/5/2010 Posts: 1 Points: 3
|
Hi, i did a fresh install of weborb .net lastest version and was going to try out the WDMF code generation. so i follow the steps installing FoodAndDrink database in SQL 2008 and everything went fine until i hit the build button to generate code, it shows a message : "trying connect to weborb using RTMP, attempt 1" and stays there. nothing happens afterward, no error or anything. if i click the build button again i will get a infinite loops of the following message: "Server closed RTMP connection, trying to reconnect" Trying connect to WebORB using RTMP, attempt 1"
Please help me. Thanks!
|
|
Rank: Senior Midnight Coder Groups: Member
Joined: 11/21/2009 Posts: 79 Points: 237 Location: New Zealand
|
We are getting the same problem with 4.2.
WEBORB 4.2 doesn't work.
Error when trying to do WDMF code generation is -
[Thread-8] WEBORB INSTRUMENTATION:11/19/2010 11:07 a.m.:Response serialization time in ms - 15 [Thread-8] WEBORB INSTRUMENTATION:11/19/2010 11:07 a.m.:Total request processing time in ms - 15 [Thread-11] WEBORB INFO:11/19/2010 11:07 a.m.:call: Service: Method: Generate Num Params: 10: String type. Value - Flexitime [Thread-11] WEBORB ERROR:11/19/2010 11:07 a.m.:System.MissingMethodException: unable to find method with name Generate and the given argument types at Weborb.Util.MethodLookup.findMethod(Type type, String methodName, Object[] arguments, MatchDelegate match) at Weborb.Util.MethodLookup.findMethod(Type type, String methodName, Object[] arguments) at Weborb.Util.Invocation.invoke(Object obj, String function, Object[] arguments)
Annoyingly 4.1.0.1 code generation using VB.Net doesn't work either.
|
|
Rank: Senior Midnight Coder Groups: Member
Joined: 11/21/2009 Posts: 79 Points: 237 Location: New Zealand
|
To follow up my previous comment re 4.1.0.1 not compiling in VB.Net when generating code in VB I get -
Local variable 'items' is already declared in current block.
This same message for many different variables.
|
|
Rank: Senior Midnight Coder Groups: Member
Joined: 11/21/2009 Posts: 79 Points: 237 Location: New Zealand
|
Following up on 4.2 hanging on unable to find method with name Generate, I'm not sure what caused this problem but a re-install of the directory stopping and starting IIS admin and www seems to have fixed the problem. Possibly a mismatch of versions from one that was still in memory.
|
|
Rank: Apprentice Coder Groups: Administration
, Member
Joined: 7/19/2010 Posts: 30 Points: 75 Location: Dallas
|
" When in doubt, reboot." Thanks for posting the resolution to this thread! :)
|
|
Rank: Senior Midnight Coder Groups: Member
Joined: 11/21/2009 Posts: 79 Points: 237 Location: New Zealand
|
Heheh. Thanks for your help.
|
|
Rank: Senior Midnight Coder Groups: Member
Joined: 11/21/2009 Posts: 79 Points: 237 Location: New Zealand
|
I had the same problem again. Stopped and restarted IIS, rebooted machine and still had problem. Solution was to clear browser cache, I was using Chrome.
|
|
Rank: Apprentice Coder Groups: Member
Joined: 8/20/2009 Posts: 24 Points: -31 Location: AllynWA
|
I have restarted IIS, rebooted the PC, cleared cache, and still not been able to get this problem to go away. I also tried to upgrade to 4.3.0.1 and the problem was there as well. Is there some other issue that is preventing this from working?
|
|
Rank: Newbie Coder Groups: Member
Joined: 11/15/2011 Posts: 4 Points: 12
|
I am having the same problem with V4.4 . When I create a data model with Weborb and generate code the code appears to be generated successfully. However when I try to deploy the build I get errors. When I try the deploy wizard, I get an "access is denied" error . When I try to "Auto deploy" server code I noticed that I get an error. Does it have to do with permissions? What user does Weborb deploy the DLL as to the IIS server?
|
|
Rank: Newbie Coder Groups: Member
Joined: 1/13/2012 Posts: 1 Points: 3
|
Hi
I am trying out 4.5.0.0, trying to generate a simple data model.
a simple view and stored procedure cause the error xxxx does not have a primary key. I am using sql 2008 r2 express on XP. I have been able to generate a test drive using only tables. Below is the SQL for the database objects.
Thank you in anticipation
Regards Steve
USE [test] GO
/****** Object: Table [dbo].[Table_1] Script Date: 01/13/2012 16:48:03 ******/ SET ANSI_NULLS ON GO
SET QUOTED_IDENTIFIER ON GO
CREATE TABLE [dbo].[Table_1]( [id] [int] IDENTITY(1,1) NOT NULL, [descr] [nchar](10) NULL, CONSTRAINT [PK_Table_1] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY]
GO
/****** Object: Table [dbo].[Table_2] Script Date: 01/13/2012 16:48:58 ******/ SET ANSI_NULLS ON GO
SET QUOTED_IDENTIFIER ON GO
CREATE TABLE [dbo].[Table_2]( [t2id] [int] NOT NULL, [t1Id] [int] NOT NULL, [t2descr] [nchar](10) NOT NULL, CONSTRAINT [PK_Table_2] PRIMARY KEY CLUSTERED ( [t2id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Table_2] WITH CHECK ADD CONSTRAINT [FK_Table_2_Table_1] FOREIGN KEY([t1Id]) REFERENCES [dbo].[Table_1] ([id]) GO
ALTER TABLE [dbo].[Table_2] CHECK CONSTRAINT [FK_Table_2_Table_1] GO
======================= view + sp fail with xxxx does not have a primary key
/****** Object: View [dbo].[t1t2] Script Date: 01/13/2012 16:51:21 ******/ SET ANSI_NULLS ON GO
SET QUOTED_IDENTIFIER ON GO
CREATE VIEW [dbo].[t1t2] AS SELECT dbo.Table_1.id, dbo.Table_1.descr, dbo.Table_2.t2id, dbo.Table_2.t1Id, dbo.Table_2.t2descr FROM dbo.Table_1 INNER JOIN dbo.Table_2 ON dbo.Table_1.id = dbo.Table_2.t1Id GO
/****** Object: StoredProcedure [dbo].[usp1] Script Date: 01/13/2012 16:49:54 ******/ SET ANSI_NULLS ON GO
SET QUOTED_IDENTIFIER ON GO
CREATE PROCEDURE [dbo].[usp1] @p1 int = 0, @p2 int = 0 AS BEGIN SET NOCOUNT ON;
SELECT @p1, @p2 END
GO
|
|
Rank: Newbie Coder Groups: Member
Joined: 2/16/2012 Posts: 3 Points: 9 Location: UK
|
I know this is old but I found this thread via Google search as I searched for a solution to this problem. I was getting the "trying connect to weborb using RTMP, attempt 1" then no progress...
The issue in my case was that the security software (AVG) was preventing the RTMP connection. For anyone with AVG, go in to the LinkScanner component and uncheck 'Enable Surf-Shield'.
|
|
|
Guest |